Ejemplo 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));
        }
Ejemplo n.º 2
0
        public static bool ExtendFrame(this Window window, Thickness thickness, Color background)
        {
            MARGINS margins = new MARGINS(thickness);

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