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

QuickAccessToolBarImageSourceProperty

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

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace

Other Resources

Ribbon Layout and Resizing