Share via


RibbonSplitButton.Description Property

Gets or sets the text that appears on this RibbonSplitButton control in a drop-down menu.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property Description As String
string Description { get; set; }

Property Value

Type: System.String
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.

.NET Framework Security

See Also

Reference

RibbonSplitButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview