WindowChrome.UseAeroCaptionButtons WindowChrome.UseAeroCaptionButtons WindowChrome.UseAeroCaptionButtons WindowChrome.UseAeroCaptionButtons Property

定义

获取或设置一个值,表示是对 Windows Aero 标题按钮启用的命中测试是否可用。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

属性值

如果在标题按钮上启用命中测试,则为 true;否则为 falsetrue if hit-testing is enabled on the caption buttons; otherwise, false. 已注册的默认值为 trueThe registered default is true. 有关什么可以影响值的详细信息,请参阅依赖属性值优先级For more information about what can influence the value, see Dependency Property Value Precedence.

注解

默认 Windows Aero 标题按钮是关闭、 最大化/还原和最小化。The default Windows Aero caption buttons are Close, Maximize/Restore, and Minimize. 如果不使用 Windows Aero 标题按钮,则应提供一种替代方法来完成这些任务的用户。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
元数据属性设置为 trueMetadata properties set to true None

适用于

另请参阅