Redigera

Dela via


RibbonControlService.GetSmallImageSource(DependencyObject) Method

Definition

Gets the value of the SmallImageSource attached property for an object.

public:
 static System::Windows::Media::ImageSource ^ GetSmallImageSource(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.ImageSource GetSmallImageSource (System.Windows.DependencyObject element);
static member GetSmallImageSource : System.Windows.DependencyObject -> System.Windows.Media.ImageSource
Public Shared Function GetSmallImageSource (element As DependencyObject) As ImageSource

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The object's SmallImageSource property value.

Exceptions

The specified element is null.

Applies to