Compartir a través de


RibbonControlService.SetToolTipDescription (Método)

Establece el valor de la propiedad adjunta ToolTipDescription de un objeto.

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

Sintaxis

'Declaración
Public Shared Sub SetToolTipDescription ( _
    element As DependencyObject, _
    value As String _
)
public static void SetToolTipDescription(
    DependencyObject element,
    string value
)
public:
static void SetToolTipDescription(
    DependencyObject^ element, 
    String^ value
)
static member SetToolTipDescription : 
        element:DependencyObject * 
        value:string -> unit 
public static function SetToolTipDescription(
    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

RibbonControlService Clase

Microsoft.Windows.Controls.Ribbon (Espacio de nombres)