ClassContextualGroupAutomationPeer
Automation peer for the RadRibbonContextualGroup class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.RibbonView.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 object.
Properties
ToggleState
Gets the toggle state of the control.
Declaration
public ToggleState ToggleState { get; }
Property Value
ToggleState
The ToggleState of the control.
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetPattern(PatternInterface)
Gets the control pattern for the UIElement that is associated with this .
Declaration
public override object GetPattern(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()