ClassContextualGroupAutomationPeer
Automation peer for the RadRibbonContextualGroup class.
Definition
Namespace:Telerik.UI.Automation.Peers
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class ContextualGroupAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider
Inheritance: objectContextualGroupAutomationPeer
Implements:
Constructors
ContextualGroupAutomationPeer(RadRibbonContextualGroup)
Initializes a new instance of the ContextualGroupAutomationPeer class.
Declaration
public ContextualGroupAutomationPeer(RadRibbonContextualGroup owner)
Parameters
owner
The RadRibbonContextualGroup that will be associated with newly created ContextualGroupAutomationPeer object.
Properties
ToggleState
Gets the toggle state of the control.
Declaration
public ToggleState ToggleState { get; }
Property Value
ToggleState
The of the control.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetPatternCore(PatternInterface)
Gets the control pattern for the that is associated with this .
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
A value from the enumeration.
Returns
An object that implements the
interface if patternInterface is ;
otherwise, null.
Toggle()
Cycles through the toggle states of a control.
Declaration
public void Toggle()