RibbonMenu.ShowImage Property

 

Gets or sets a value that indicates whether the image that is associated with the menu 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 menu 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.

This property is automatically set to true if you set the ControlSize property to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge at design time or run time.

Return to top
Show: