RibbonMenuItem.QuickAccessToolBarImageSource Property
Gets or sets the image that is displayed on the control when it is hosted in the Quick Access Toolbar.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property QuickAccessToolBarImageSource As ImageSource
public ImageSource QuickAccessToolBarImageSource { get; set; }
public:
property ImageSource^ QuickAccessToolBarImageSource {
ImageSource^ get ();
void set (ImageSource^ value);
}
member QuickAccessToolBarImageSource : ImageSource with get, set
function get QuickAccessToolBarImageSource () : ImageSource
function set QuickAccessToolBarImageSource (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 |
Remarks
If this property is nulla null reference (Nothing in Visual Basic), the ImageSource property is used when the menu item is hosted in the Quick Access Toolbar.
.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