New to Telerik UI for WPFStart a free 30-day trial

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: IToggleProvider

Constructors

Initializes a new instance of the ContextualGroupAutomationPeer class.

C#
public ContextualGroupAutomationPeer(RadRibbonContextualGroup owner)
Parameters:ownerRadRibbonContextualGroup

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; }
Property Value:

The ToggleState of the control.

Methods

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

Gets the control pattern for the UIElement that is associated with this .

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object

An object that implements the interface if patternInterface is ; otherwise, null.

Cycles through the toggle states of a control.

C#
public void Toggle()