MenuAction.ImageUri, propriété

Obtient ou affecte le chemin d'accès à une image associée au MenuAction.

Espace de noms :  Microsoft.Windows.Design.Interaction
Assembly :  Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Déclaration
Public Property ImageUri As Uri
    Get
    Set
public Uri ImageUri { get; set; }
public:
property Uri^ ImageUri {
    Uri^ get ();
    void set (Uri^ value);
}
member ImageUri : Uri with get, set
function get ImageUri () : Uri
function set ImageUri (value : Uri)

Valeur de propriété

Type : System.Uri
Uri pour l'image associée au MenuAction.La valeur par défaut est nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

MenuAction Classe

Microsoft.Windows.Design.Interaction, espace de noms

PrimarySelectionContextMenuProvider

MenuGroup

Autres ressources

Procédure pas à pas : création d'un fournisseur de menus