Compartir a través de


RibbonControlService.SetSmallImageSource (Método)

Establece 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 Sub SetSmallImageSource ( _
    element As DependencyObject, _
    value As ImageSource _
)
public static void SetSmallImageSource(
    DependencyObject element,
    ImageSource value
)
public:
static void SetSmallImageSource(
    DependencyObject^ element, 
    ImageSource^ value
)
static member SetSmallImageSource : 
        element:DependencyObject * 
        value:ImageSource -> unit 
public static function SetSmallImageSource(
    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)