RibbonButton.SmallImage Property

Applies to v2.

Gets or sets a 16x16 image for the button.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Property SmallImage As ImageSource 
    Get 
    Private Set
'Usage
Dim instance As RibbonButton 
Dim value As ImageSource 

value = instance.SmallImage
public ImageSource SmallImage { get; private set; }
public:
property ImageSource^ SmallImage {
    ImageSource^ get ();
    private: void set (ImageSource^ value);
}
member SmallImage : ImageSource with get, private set
function get SmallImage () : ImageSource 
private function set SmallImage (value : ImageSource)

Property Value

Type: System.Windows.Media.ImageSource
A 16x16 image for the button.

See Also

Reference

RibbonButton Class

Microsoft.WebMatrix.Extensibility Namespace