Partager via


RibbonButton.Description Property

Gets or sets the text that appears on this button in a menu when the ItemSize property of the menu is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

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 description appears when this control is nested in another menu or split button, and the RibbonMenu.ItemSize property of the parent menu, or the RibbonSplitButton.ItemSize property of the split button, is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.
This property can be changed at run time.

.NET Framework Security

See Also

Reference

RibbonButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview