SystemParameters.SnapToDefaultButton Propiedad

Definición

Obtiene un valor que indica si el desplazamiento al botón predeterminado está habilitado. Si está habilitado, el cursor del mouse se desplaza automáticamente al botón predeterminado de un cuadro de diálogo, por ejemplo, Aceptar o Aplicar.

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

Valor de propiedad

Es true si la característica está habilitada; en caso contrario, es false.

Atributos

Comentarios

Obtenga esta métrica de SPI_GETSNAPTODEFBUTTON. Consulte SystemParametersInfo.

Uso del atributo XAML

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

Se aplica a