Class RadRadioButtonAutomationPeer
Exposes RadRadioButton type to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadRadioButtonAutomationPeer : RadioButtonAutomationPeer, IToggleProvider
Constructors
RadRadioButtonAutomationPeer(RadRadioButton)
Initializes a new instance of the RadRadioButtonAutomationPeer class.
Declaration
public RadRadioButtonAutomationPeer(RadRadioButton owner)
Parameters
RadRadioButton
owner
The owner. |
Properties
ToggleState
Gets the toggle state of the control.
Declaration
public ToggleState ToggleState { get; }
Property Value
System.Windows.Automation.ToggleState
The toggle state of the control, as a value of the enumeration. |
Methods
GetAutomationControlTypeCore()
Returns the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
A value of the enumeration. |
GetAutomationIdCore()
Returns the string that uniquely identifies the System.Windows.FrameworkElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationId.
Declaration
protected override string GetAutomationIdCore()
Returns
System.String
The automation identifier for the element associated with the System.Windows.Automation.Peers.FrameworkElementAutomationPeer, or System.String.Empty if there is no automation identifier. |
GetClassNameCore()
Returns the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The name of the owner type that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. See Remarks. |
GetHelpTextCore()
Returns the string that describes the functionality of the System.Windows.FrameworkElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText.
Declaration
protected override string GetHelpTextCore()
Returns
System.String
The help text, or System.String.Empty if there is no help text. |
GetNameCore()
Returns the text label of the System.Windows.FrameworkElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
System.String
The text label of the element that is associated with this automation peer. |
GetPattern(PatternInterface)
Returns the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the enumeration values. |
Returns
System.Object
See Remarks. |
Toggle()
Cycles through the toggle states of a control.
Declaration
public void Toggle()