Tag Archives: WPF WindowChrome

WPF: How to Customize High-perfor Forms with WindowChrome

background:

But when we customize the form, the default form cannot meet our functional requirements, then we need to customize the form.

Core code:

<WindowChrome.WindowChrome> 
        < WindowChrome 
            CaptionHeight = " 30 " 
            CornerRadius = " 10 " 
            GlassFrameThickness = " 1 " 
            NonClientFrameEdges = " None " 
            UseAeroCaptionButtons = " False " /> 
    </WindowChrome.WindowChrome>

Paste it directly under the WIndow root node