Partager via


RibbonSplitButton.Description Property

Definition

Gets or sets the text that appears on this RibbonSplitButton control in a drop-down 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

The text that appears on the control when it is inside of a drop-down menu.

Remarks

The description appears when the RibbonSplitButton is nested in another menu or split button, 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