次の方法で共有


RibbonToggleButton.Description Property

Definition

Gets or sets the text that appears on this RibbonToggleButton control in a menu.

public:
 property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public string Description { get; set; }
member this.Description : string with get, set
Public Property Description As String

Property Value

A String that represents the text on the control.

Remarks

The Description appears when RibbonToggleButton is nested in another menu, and the ItemSize property of the parent menu is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge. If the ItemSize is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular, the description does not appear.

This property can be changed at run time.

Applies to