Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cycles through the checked states of the RibbonSplitButton that is associated with this RibbonSplitButtonAutomationPeer.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Private Sub Toggle Implements IToggleProvider.Toggle
void IToggleProvider.Toggle()
private:
virtual void Toggle() sealed = IToggleProvider::Toggle
private abstract Toggle : unit -> unit
private override Toggle : unit -> unit
JScript does not support explicit interface implementations.
Implements
Exceptions
Exception | Condition |
---|---|
ElementNotEnabledException | The RibbonSplitButton is not enabled. |
InvalidOperationException | The RibbonSplitButton cannot be checked. |
Remarks
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 Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.