Share via


RibbonMenu.Description Property (2007 System)

Gets or sets the text that appears on the current menu.

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 RibbonMenu 
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 text that appears on the menu.

Remarks

The description appears when the current menu is nested in another menu or split button, and the ItemSize property of the parent menu or split button is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

.NET Framework Security

See Also

Reference

RibbonMenu Class

RibbonMenu Members

Microsoft.Office.Tools.Ribbon Namespace