Share via


RibbonGroup.Icon Property

Applies to v2.

Gets a 32x32 icon for the group.

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

Syntax

'Declaration
Public Property Icon As ImageSource 
    Get 
    Private Set
'Usage
Dim instance As RibbonGroup 
Dim value As ImageSource 

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

Property Value

Type: System.Windows.Media.ImageSource
A 32x32 icon for the group.

Remarks

The group's icon will only be shown when the group is collapsed due to spacing constraints.

See Also

Reference

RibbonGroup Class

Microsoft.WebMatrix.Extensibility Namespace