Class
ContextualGroupAutomationPeer

Automation peer for the RadRibbonContextualGroup class.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.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 ContextualGroupAutomationPeer object.

Properties

ToggleState

Gets the toggle state of the control.

Declaration

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

Property Value

ToggleState

The 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

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPatternCore(PatternInterface)

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

Declaration

cs-api-definition
protected override object GetPatternCore(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()