RibbonMenu.ShowImage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the image that is associated with the menu is visible.
public:
property bool ShowImage { bool get(); void set(bool value); };
public bool ShowImage { get; set; }
member this.ShowImage : bool with get, set
Public Property ShowImage As Boolean
Property Value
true
if the image that is associated with the menu is visible; otherwise, false
. The default is false
.
Remarks
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.