Compartir a través de


KeyTipService.SetKeyTipStyle (Método)

Establece el valor de la propiedad adjunta KeyTipStyle del elemento especificado.

Espacio de nombres:  Microsoft.Windows.Controls
Ensamblado:  RibbonControlsLibrary (en RibbonControlsLibrary.dll)

Sintaxis

'Declaración
Public Shared Sub SetKeyTipStyle ( _
    element As DependencyObject, _
    value As Style _
)
public static void SetKeyTipStyle(
    DependencyObject element,
    Style value
)
public:
static void SetKeyTipStyle(
    DependencyObject^ element, 
    Style^ value
)
static member SetKeyTipStyle : 
        element:DependencyObject * 
        value:Style -> unit 
public static function SetKeyTipStyle(
    element : DependencyObject, 
    value : Style
)

Parámetros

Excepciones

Excepción Condición
ArgumentNullException

El element especificado es nullreferencia null (Nothing en Visual Basic).

Seguridad de .NET Framework

Vea también

Referencia

KeyTipService Clase

Microsoft.Windows.Controls (Espacio de nombres)