SystemParameters.SnapToDefaultButton Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob die Snap-to-Default-Schaltfläche aktiviert ist. Wenn diese Option aktiviert ist, wird der Mauszeiger automatisch auf die Standardschaltfläche eines Dialogfelds verschoben, z. B. OK oder Anwenden.

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

Eigenschaftswert

truewenn das Feature aktiviert ist; andernfalls . false

Attribute

Hinweise

Rufen Sie diese Metrik aus SPI_GETSNAPTODEFBUTTON ab. Siehe SystemParametersInfo.

XAML-Attributverwendung

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

Gilt für: