Compartir a través de


KeyTipService.SetKeyTip (Método)

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

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

Sintaxis

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

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)