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:
public class RadRadioButtonAutomationPeer : RadioButtonAutomationPeer, IToggleProvider
Inheritance: objectRadRadioButtonAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadRadioButtonAutomationPeer class.
public RadRadioButtonAutomationPeer(RadRadioButton owner)
The owner.
Properties
ToggleState
ToggleState
Gets the toggle state of the control.
public ToggleState ToggleState { get; }
The toggle state of the control, as a value of the enumeration.
Methods
Returns the control type for the UIElement that is associated with this . This method is called by .
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
A value of the enumeration.
Returns the string that uniquely identifies the FrameworkElement that is associated with this . This method is called by .
Returns the name of the UIElement that is associated with this . This method is called by .
protected override string GetClassNameCore()
The name of the owner type that is associated with this . See Remarks.
Returns the text label of the FrameworkElement that is associated with this . This method is called by .
protected override string GetNameCore()
The text label of the element that is associated with this automation peer.
Returns the control pattern for the UIElement that is associated with this .
public override object GetPattern(PatternInterface patternInterface)
One of the enumeration values.
Returns:See Remarks.
Cycles through the toggle states of a control.
public void Toggle()