SystemParameters.SnapToDefaultButton 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示是否启用管理单元到默认按钮。 如果启用,鼠标光标会自动移动到对话框的默认按钮,例如 “确定 ”或 “应用”。
public:
static property bool SnapToDefaultButton { bool get(); };
public static bool SnapToDefaultButton { [System.Security.SecurityCritical] get; }
public static bool SnapToDefaultButton { get; }
[<get: System.Security.SecurityCritical>]
static member SnapToDefaultButton : bool
static member SnapToDefaultButton : bool
Public Shared ReadOnly Property SnapToDefaultButton As Boolean
属性值
true 启用该功能时;否则,为 false.
- 属性
注解
从SPI_GETSNAPTODEFBUTTON获取此指标。 请参阅 SystemParametersInfo。
XAML 属性用法
<
object property=“{ SystemParameters.SnapToDefaultButton}”/>