CommonControls.CommonLightBox.GetWindowRectangle C# (CSharp) Method

GetWindowRectangle() public static method

public static GetWindowRectangle ( Window window ) : RECT
window System.Windows.Window
return RECT
        public static RECT GetWindowRectangle(Window window)
        {
            RECT rect;
            GetWindowRect((new WindowInteropHelper(window)).Handle, out rect);

            return rect;
        }