SystemParameters.SnapToDefaultButton 屬性

定義

取得值,指出是否已啟用指到預設按鈕。 如果已啟用,則滑鼠游標會自動移至對話方塊的預設按鈕,例如 [確定] 或 [套用]

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 } 」/>

適用於