WindowChrome.UseAeroCaptionButtons 属性
定义
获取或设置一个值,表示是对 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
;否则为 false
。true
if hit-testing is enabled on the caption buttons; otherwise, false
. 已注册的默认值为 true
。The registered default is true
. 有关什么可以影响值的详细信息,请参阅 Dependency Property Value Precedence(依赖项属性值优先级)。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 |
元数据属性设置为 true Metadata properties set to true |
无None |