Compartir a través de


RibbonControlService.GetSmallImageSource (Método)

Obtiene el valor de la propiedad adjunta SmallImageSource de un objeto.

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

Sintaxis

'Declaración
Public Shared Function GetSmallImageSource ( _
    element As DependencyObject _
) As ImageSource
public static ImageSource GetSmallImageSource(
    DependencyObject element
)
public:
static ImageSource^ GetSmallImageSource(
    DependencyObject^ element
)
static member GetSmallImageSource : 
        element:DependencyObject -> ImageSource 
public static function GetSmallImageSource(
    element : DependencyObject
) : ImageSource

Parámetros

Valor devuelto

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