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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace
PrimarySelectionContextMenuProvider