Class RadSplitButtonAutomationPeer
Exposes RadSplitButton type to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadSplitButtonAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, IExpandCollapseProvider
Constructors
RadSplitButtonAutomationPeer(RadSplitButton)
Initializes a new instance of the RadSplitButtonAutomationPeer class.
Declaration
public RadSplitButtonAutomationPeer(RadSplitButton owner)
Parameters
RadSplitButton
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()
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. |
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. |
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. |
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
The type of the control. |
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)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
The pattern. |
Returns
System.Object
|
Invoke()
Sends a request to activate a control and initiate its single, unambiguous action.
Declaration
public void Invoke()