Share via


MenuAction.ImageUri Property

Gets or sets the path to an image associated with the MenuAction.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

Property Value

Type: System.Uri
A Uri to the image associated with the MenuAction. The default value is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

MenuAction Class

Microsoft.Windows.Design.Interaction Namespace

PrimarySelectionContextMenuProvider

MenuGroup

Other Resources

Walkthrough: Creating a Menu Provider