Class RadDropDownButtonAutomationPeer
Exposes RadDropDownButton type to UI Automation.
Inherited Members
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadDropDownButtonAutomationPeer : RadButtonAutomationPeer, IExpandCollapseProvider
Constructors
RadDropDownButtonAutomationPeer(RadDropDownButton)
Initializes a new instance of the RadDropDownButtonAutomationPeer class.
Declaration
public RadDropDownButtonAutomationPeer(RadDropDownButton owner)
Parameters
RadDropDownButton
owner
The owner. |
Properties
ExpandCollapseState
Gets the state (expanded or collapsed) of the control.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
System.Windows.Automation.ExpandCollapseState
The state (expanded or collapsed) of the control. |
Methods
Collapse()
Hides all nodes, controls, or content that are descendants of the control.
Declaration
public void Collapse()
Expand()
Displays all child nodes, controls, or content of the control.
Declaration
public void Expand()
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. |
Overrides
GetChildrenCore()
Returns the collection of child elements 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.GetChildren.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
A list of child System.Windows.Automation.Peers.AutomationPeer elements. |
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. |
Overrides
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. |
Overrides
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. |
Overrides
GetPattern(PatternInterface)
When overridden in a derived class, gets an object that supports the requested pattern, based on System.Windows.Automation.Peers.PatternInterface input and the peer's implementation of known patterns.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
A value from the System.Windows.Automation.Peers.PatternInterface enumeration. |
Returns
System.Object
The object that implements the pattern interface; null if this peer does not support this interface. |
Overrides
Invoke()
Sends a request to activate a control and initiate its single, unambiguous action.
Declaration
public void Invoke()