Share via


RibbonDropDown.ShowItemLabel Property (2007 System)

Gets or sets a value that indicates whether labels are displayed for the items in the drop-down 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 ShowItemLabel As Boolean
'Usage
Dim instance As RibbonDropDown 
Dim value As Boolean 

value = instance.ShowItemLabel

instance.ShowItemLabel = value
public bool ShowItemLabel { get; set; }
public:
property bool ShowItemLabel {
    bool get ();
    void set (bool value);
}
public function get ShowItemLabel () : boolean 
public function set ShowItemLabel (value : boolean)

Property Value

Type: System.Boolean
true if the labels are displayed; otherwise, false. The default is false.

Remarks

This property cannot be set at run time.

.NET Framework Security

See Also

Reference

RibbonDropDown Class

RibbonDropDown Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview