How to set the parent element of a WPF window if you want to show it as a dialog? Both the Show () and ShowDialog () methods do not seem to have this option.
This was possible in Java, as you could pass the parent element in the constructor. Is this possible in WPF?
EDIT: I am using C #
source share