SystemParameters.WindowCaptionButtonHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the height, in pixels adjusted for DPI, of a button in the title bar of a window.
public:
static property double WindowCaptionButtonHeight { double get(); };
public static double WindowCaptionButtonHeight { [System.Security.SecurityCritical] get; }
public static double WindowCaptionButtonHeight { get; }
[<get: System.Security.SecurityCritical>]
static member WindowCaptionButtonHeight : double
static member WindowCaptionButtonHeight : double
Public Shared ReadOnly Property WindowCaptionButtonHeight As Double
Property Value
The height of a caption button.
- Attributes
Remarks
Maps to SM_CYSIZE. See GetSystemMetrics.
XAML attribute usage
<object property="{ SystemParameters.WindowCaptionButtonHeight}
"/>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.