Sdílet prostřednictvím


RibbonControlService.SetSmallImageSource Metoda

Definice

Nastaví hodnotu SmallImageSource připojené vlastnosti objektu.

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)

Parametry

element
DependencyObject

Objekt, ke kterému je přidružená vlastnost zapsána.

value
ImageSource

Hodnota k nastavení.

Výjimky

Zadaná element hodnota je null.

Platí pro