Compartir a través de


RibbonControlService.GetToolTipImageSource (Método)

Obtiene 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 Function GetToolTipImageSource ( _
    element As DependencyObject _
) As ImageSource
public static ImageSource GetToolTipImageSource(
    DependencyObject element
)
public:
static ImageSource^ GetToolTipImageSource(
    DependencyObject^ element
)
static member GetToolTipImageSource : 
        element:DependencyObject -> ImageSource 
public static function GetToolTipImageSource(
    element : DependencyObject
) : ImageSource

Parámetros

Valor devuelto

Tipo: System.Windows.Media.ImageSource
Valor de la propiedad ToolTipImageSource 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

RibbonControlService Clase

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