Partager via


RibbonSplitButton.ButtonType Property

Gets or sets the type of the button on the RibbonSplitButton.

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

Syntax

'Declaration
Property ButtonType As RibbonButtonType
RibbonButtonType ButtonType { get; set; }

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonButtonType
A RibbonButtonType that represents the type of the button on the RibbonSplitButton.

Remarks

The two options are Button and ToggleButton.

The property cannot be changed at run time.

.NET Framework Security

See Also

Reference

RibbonSplitButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview