Esempio n. 1
0
        public static bool ExtendFrame(this Window window, bool extended, Color background)
        {
            MARGINS margins = extended ? MARGINS.All : MARGINS.None;

            return(window.ExtendFrame(margins, background));
        }
Esempio n. 2
0
        public static bool ExtendFrame(this Window window, Thickness thickness, Color background)
        {
            MARGINS margins = new MARGINS(thickness);

            return(window.ExtendFrame(margins, background));
        }
Esempio n. 3
0
 private static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, MARGINS pMarInset);