Skip to content

ClientAreaBorder.WindowChromeNonClientFrameThickness property

Defined in

Type: ClientAreaBorder Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public Thickness WindowChromeNonClientFrameThickness { get; }

Summary: Gets if you use a WindowChrome to extend the client area of a window to the non-client area, you need to handle the edge margin issue when the window is maximized. Use this property to get the correct margin value when the window is maximized, so that when the window is maximized, the client area can completely cover the screen client area by no less than a single pixel at any DPI. TheGetSystemMetrics method cannot obtain this value directly.

Returns: Thickness