RibbonButton.Description Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property Description As String
'Usage
Dim instance As RibbonButton
Dim value As String
value = instance.Description
instance.Description = value
public string Description { get; set; }
public:
property String^ Description {
String^ get ();
void set (String^ value);
}
public function get Description () : String
public function set Description (value : String)
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
- 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