Class
ContextualGroupAutomationPeer

Automation peer for the RadRibbonContextualGroup class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
public class ContextualGroupAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider

Inheritance: objectContextualGroupAutomationPeer

Implements: IToggleProvider

Constructors

ContextualGroupAutomationPeer(RadRibbonContextualGroup)

Initializes a new instance of the ContextualGroupAutomationPeer class.

Declaration

cs-api-definition
public ContextualGroupAutomationPeer(RadRibbonContextualGroup owner)

Parameters

owner

RadRibbonContextualGroup

The RadRibbonContextualGroup that will be associated with newly created object.

Properties

ToggleState

Gets the toggle state of the control.

Declaration

cs-api-definition
public ToggleState ToggleState { get; }

Property Value

ToggleState

The ToggleState of the control.

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

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

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

A value from the enumeration.

Returns

object

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

Toggle()

Cycles through the toggle states of a control.

Declaration

cs-api-definition
public void Toggle()