Export (0) Print
Expand All

RibbonGallery.ShowImage Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether the image that is associated with the RibbonGallery is visible.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

bool ShowImage { get; set; }

Property Value

Type: System.Boolean
true if the image that is associated with the control is visible; otherwise, false. The default is false.

This property is automatically set to true if you set the Image, ImageName, or OfficeImageId property at design time. You can set it to false to cause the image associated with this control to be hidden.

Setting the Image, ImageName, or OfficeImageId property at run time does not change the value of the ShowImage property.

This property has no effect for instances of this button that are displayed on the Quick Access Toolbar.

If this property is set to true, but there is no image associated with the control, a blank image is displayed.

Show:
© 2014 Microsoft