Compartir a través de


KeyTipService.GetKeyTip (Método)

Devuelve 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 Function GetKeyTip ( _
    element As DependencyObject _
) As String
public static string GetKeyTip(
    DependencyObject element
)
public:
static String^ GetKeyTip(
    DependencyObject^ element
)
static member GetKeyTip : 
        element:DependencyObject -> string 
public static function GetKeyTip(
    element : DependencyObject
) : String

Parámetros

Valor devuelto

Tipo: System.String
Valor de la propiedad KeyTip del objeto.

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)