Condividi tramite


RibbonSplitButton.Label Property

Gets or sets the text on the RibbonSplitButton control.

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

Syntax

'Declaration
Property Label As String
string Label { get; set; }

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 Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview