編輯

共用方式為


WindowChrome.UseAeroCaptionButtons Property

Definition

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

public:
 property bool UseAeroCaptionButtons { bool get(); void set(bool value); };
public bool UseAeroCaptionButtons { get; set; }
member this.UseAeroCaptionButtons : bool with get, set
Public Property UseAeroCaptionButtons As Boolean

Property Value

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.

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.

Dependency Property Information

Identifier field UseAeroCaptionButtonsProperty
Metadata properties set to true None

Applies to

See also