ContextMenuItem.Icon Property
Applies to v2.
Gets a 16x16 image for the item.
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 ContextMenuItem
Dim value As ImageSource
value = instance.Icon
public ImageSource Icon { get; private set; }
public:
virtual property ImageSource^ Icon {
ImageSource^ get () sealed;
private: void set (ImageSource^ value) sealed;
}
abstract Icon : ImageSource with get, private set
override Icon : ImageSource with get, private set
final function get Icon () : ImageSource
private final function set Icon (value : ImageSource)
Property Value
Type: System.Windows.Media.ImageSource
A 16x16 image for the item.