Partilhar via


RibbonFactory.CreateRibbonToggleButton Method

Creates a RibbonToggleButton that represents a toggle button control on a Ribbon.

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

Syntax

'Declaration
Function CreateRibbonToggleButton As RibbonToggleButton
RibbonToggleButton CreateRibbonToggleButton()

Return Value

Type: Microsoft.Office.Tools.Ribbon.RibbonToggleButton
A Ribbon toggle button.

.NET Framework Security

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace