Udostępnij za pośrednictwem


RibbonSplitButton.Label Property (2007 System)

Gets or sets the text on the RibbonSplitButton control.

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

Syntax

'Declaration
Public Property Label As String
'Usage
Dim instance As RibbonSplitButton 
Dim value As String 

value = instance.Label

instance.Label = value
public string Label { get; set; }
public:
property String^ Label {
    String^ get ();
    void set (String^ value);
}
public function get Label () : String 
public function set Label (value : String)

Property Value

Type: System.String
A string that represents the text on the RibbonSplitButton control.

Remarks

To hide the label, set ShowLabel to false.

The Label property can be set 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