RibbonSplitButtonAutomationPeer.IToggleProvider.Toggle Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Cycles through the checked states of the RibbonSplitButton that is associated with this RibbonSplitButtonAutomationPeer.

Namespace:   System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

void IToggleProvider.Toggle()

Exception Condition

The RibbonSplitButton is not enabled.


The RibbonSplitButton cannot be checked.

This member is an explicit interface member implementation. It can be used only when the RibbonSplitButtonAutomationPeer instance is cast to an IToggleProvider interface.

.NET Framework
Available since 4.5
Return to top