CommonControls.CommonLightBox.GetWindowRectangle C# (CSharp) Méthode

GetWindowRectangle() public static méthode

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

            return rect;
        }