SystemParameters.SnapToDefaultButton Eigenschap

Definitie

Hiermee wordt een waarde opgehaald die aangeeft of de uitlijningsknop is ingeschakeld. Als deze optie is ingeschakeld, wordt de muiscursor automatisch verplaatst naar de standaardknop van een dialoogvenster, zoals OK of Toepassen.

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

Waarde van eigenschap

true wanneer de functie is ingeschakeld; anders, false.

Kenmerken

Opmerkingen

Haal deze metrische waarde op uit SPI_GETSNAPTODEFBUTTON. Zie SystemParametersInfo.

XAML-kenmerkgebruik

< object property="{ SystemParameters.SnapToDefaultButton}"/>

Van toepassing op