Lingua

RibbonControlService.SetSmallImageSource Metodo

Definizione

Imposta il valore della SmallImageSource proprietà associata per un oggetto .

public:
 static void SetSmallImageSource(System::Windows::DependencyObject ^ element, System::Windows::Media::ImageSource ^ value);
public static void SetSmallImageSource(System.Windows.DependencyObject element, System.Windows.Media.ImageSource value);
static member SetSmallImageSource : System.Windows.DependencyObject * System.Windows.Media.ImageSource -> unit
Public Shared Sub SetSmallImageSource (element As DependencyObject, value As ImageSource)

Parametri

element
DependencyObject

Oggetto in cui viene scritta la proprietà associata.

value
ImageSource

Il valore da impostare.

Eccezioni

L'oggetto specificato element è null.

Si applica a