ContextMenuItem.Icon-Eigenschaft
Die folgenden Ausführungen gelten für v2.
Ruft ein Bild (16 x 16) für das Element ab.
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)
Eigenschaftswert
Typ: System.Windows.Media.ImageSource
Ein Bild (16 x 16) für das Element.