Udostępnij za pośrednictwem


RibbonSplitButton.ShowLabel Property (2007 System)

Gets or sets a value that indicates whether the label for the RibbonSplitButton control is visible.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property ShowLabel As Boolean
'Usage
Dim instance As RibbonSplitButton 
Dim value As Boolean 

value = instance.ShowLabel

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

Property Value

Type: System.Boolean
true if the label for the RibbonSplitButton control is visible; otherwise, false. The default is true.

Remarks

This property is always true if you set the ControlSize property to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

This property can be changed at design time and run time.

.NET Framework Security

See Also

Reference

RibbonSplitButton Class

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview