WindowChrome.UseAeroCaptionButtons Property

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

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Property UseAeroCaptionButtons As Boolean
public bool UseAeroCaptionButtons { get; set; }
public:
property bool UseAeroCaptionButtons {
    bool get ();
    void set (bool value);
}
member UseAeroCaptionButtons : bool with get, set
function get UseAeroCaptionButtons () : boolean
function set UseAeroCaptionButtons (value : boolean)

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.

Dependency Property Information

Identifier field

UseAeroCaptionButtonsProperty

Metadata properties set to true

None

Remarks

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 Security

See Also

Reference

WindowChrome Class

Microsoft.Windows.Shell Namespace

CloseWindow

MaximizeWindow

MinimizeWindow

RestoreWindow