MenuAction.ImageUri Property
Gets or sets the path to an image associated with the MenuAction.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Property ImageUri As Uri
'Usage
Dim instance As MenuAction
Dim value As Uri
value = instance.ImageUri
instance.ImageUri = value
public Uri ImageUri { get; set; }
public:
property Uri^ ImageUri {
Uri^ get ();
void set (Uri^ value);
}
public function get ImageUri () : Uri
public 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