Compartir a través de


RibbonControlService.SetToolTipImageSource (Método)

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

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

Sintaxis

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

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)