RibbonMenuItem.ImageSource Property
Gets or sets the image that is displayed on the control.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property ImageSource As ImageSource
public ImageSource ImageSource { get; set; }
public:
property ImageSource^ ImageSource {
ImageSource^ get ();
void set (ImageSource^ value);
}
member ImageSource : ImageSource with get, set
function get ImageSource () : ImageSource
function set ImageSource (value : ImageSource)
Property Value
Type: System.Windows.Media.ImageSource
The image that is displayed on the control. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
.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.Controls.Ribbon Namespace