Sdílet prostřednictvím


IContextMenuItem.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
ReadOnly Property Icon As ImageSource 
    Get
'Usage
Dim instance As IContextMenuItem 
Dim value As ImageSource 

value = instance.Icon
ImageSource Icon { get; }
property ImageSource^ Icon {
    ImageSource^ get ();
}
abstract Icon : ImageSource
function get Icon () : ImageSource

Property Value

Type: System.Windows.Media.ImageSource
An 16x16 image for the item.

See Also

Reference

IContextMenuItem Interface

Microsoft.WebMatrix.Extensibility Namespace