Class RadButtonAutomationPeer
Exposes RadButton type to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadButtonAutomationPeer : ButtonAutomationPeer
Constructors
RadButtonAutomationPeer(RadButton)
Initializes a new instance of the RadButtonAutomationPeer class.
Declaration
public RadButtonAutomationPeer(RadButton owner)
Parameters
RadButton
owner
The owner. |
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. |
Invoke()
Sends a request to activate a control and initiate its single, unambiguous action.
Declaration
public void Invoke()