RibbonToggleButton.Description Property
Gets or sets the text that appears on this RibbonToggleButton control in a 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
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace