次の方法で共有


RibbonToggleButton.ShowImage Property

Definition

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

This property is always true if you set the ControlSize property to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

This property can be changed at run time.

Applies to