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