Class
RadRadioButtonAutomationPeer

Provides a specialization of the for the RadRadioButton control, which implements the IToggleProvider interface. This class is responsible for exposing the automation properties and patterns for a RadRadioButton to accessibility clients, allowing for better interaction with assistive technologies. The RadRadioButtonAutomationPeer class enables the management of toggle states, retrieval of control properties, and integration with UI Automation frameworks, thereby enhancing the accessibility and usability of radio button controls in WPF applications.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RadRadioButtonAutomationPeer : RadioButtonAutomationPeer, IToggleProvider

Inheritance: objectRadRadioButtonAutomationPeer

Derived Classes: RadGeometryRadioButtonAutomationPeerRibbonRadioButtonAutomationPeer

Implements: IToggleProvider

Constructors

RadRadioButtonAutomationPeer(RadRadioButton)

Initializes a new instance of the RadRadioButtonAutomationPeer class.

Declaration

cs-api-definition
public RadRadioButtonAutomationPeer(RadRadioButton owner)

Parameters

owner

RadRadioButton

The owner.

Properties

ToggleState

Gets the toggle state of the control.

Declaration

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

Property Value

ToggleState

The toggle state of the control, as a value of the enumeration.

Methods

GetAutomationControlTypeCore()

Returns the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

A value of the enumeration.

GetAutomationIdCore()

Returns the string that uniquely identifies the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetAutomationIdCore()

Returns

string

The automation identifier for the element associated with the , or Empty if there is no automation identifier.

GetClassNameCore()

Returns the name of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The name of the owner type that is associated with this . See Remarks.

GetHelpTextCore()

Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text, or Empty if there is no help text.

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Returns the text label of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The text label of the element that is associated with this automation peer.

GetPattern(PatternInterface)

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

Declaration

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

Parameters

patternInterface

PatternInterface

One of the enumeration values.

Returns

object

See Remarks.

Toggle()

Cycles through the toggle states of a control.

Declaration

cs-api-definition
public void Toggle()