Catel.Windows.WindowExtensions.HasOwner C# (CSharp) Method

HasOwner() private static method

Returns whether the window currently has an owner.
private static HasOwner ( Window window ) : bool
window System.Windows.Window Window to check.
return bool
        private static bool HasOwner(SystemWindow window)
        {
            return ((window.Owner != null) || (new WindowInteropHelper(window).Owner != IntPtr.Zero));
        }