Share via


RibbonSplitButtonAutomationPeer.IToggleProvider.ToggleState Property

Gets the checked state of the RibbonSplitButton that is associated with this RibbonSplitButtonAutomationPeer.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Private ReadOnly Property ToggleState As ToggleState
    Implements IToggleProvider.ToggleState
ToggleState IToggleProvider.ToggleState { get; }
private:
virtual property ToggleState ToggleState {
    ToggleState get () sealed = IToggleProvider::ToggleState::get;
}
private abstract ToggleState : ToggleState
private override ToggleState : ToggleState
JScript does not support explicit interface implementations.

Property Value

Type: System.Windows.Automation.ToggleState
The checked state of the RibbonSplitButton that is associated with this RibbonSplitButtonAutomationPeer.

Implements

IToggleProvider.ToggleState

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

See Also

Reference

RibbonSplitButtonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace