WindowChrome.UseAeroCaptionButtons Property

.NET Framework 4.6 and 4.5

Gets or sets a value that indicates whether hit-testing is enabled on the Windows Aero caption buttons.

Namespace:  System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.

public bool UseAeroCaptionButtons { get; set; }
<object UseAeroCaptionButtons="bool" .../>

Property Value

Type: System.Boolean
true if hit-testing is enabled on the caption buttons; otherwise, false. The registered default is true. For more information about what can influence the value, see Dependency Property Value Precedence.

Identifier field

UseAeroCaptionButtonsProperty

Metadata properties set to true

None

The default Windows Aero caption buttons are Close, Maximize/Restore, and Minimize. If you do not use the Windows Aero captions buttons, you should provide an alternative method for a user to accomplish these tasks.

.NET Framework

Supported in: 4.6, 4.5

Reference

CloseWindow
MaximizeWindow
MinimizeWindow
RestoreWindow
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft