I have window form in my WPF Application when I open new window from my form I used to set the owner of the new window to my opening window. But when I have converted the parent window to user control the line
objSearchCareGiver.Owner = this;
gives error
Cannot implicitly convert type 'MyNameSpace.ucUserControlto 'System.Windows.Window'
can anyone explain why is this so?