Represents the automation peer for the RadSplitButton control, providing accessibility support for UI automation clients. This class implements the IInvokeProvider and IExpandCollapseProvider interfaces, enabling the automation client to invoke actions on the button and control its expanded or collapsed state. The peer exposes properties and methods that allow automation tools to interact with the associated RadSplitButton, including retrieving the control's ExpandCollapseState, invoking the button, expanding or collapsing its drop-down content, and providing metadata such as the control's name and help text.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadSplitButtonAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, IExpandCollapseProvider
Inheritance: objectRadSplitButtonAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadSplitButtonAutomationPeer class.
public RadSplitButtonAutomationPeer(RadSplitButton owner)
The owner.
Properties
ExpandCollapseState
ExpandCollapseState
Gets the state (expanded or collapsed) of the control.
public ExpandCollapseState ExpandCollapseState { get; }
The state (expanded or collapsed) of the control.
Methods
Hides all nodes, controls, or content that are descendants of the control.
public void Collapse()
Displays all child nodes, controls, or content of the control.
public void Expand()
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 collection of child elements of the UIElement that is associated with this . This method is called by .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child AutomationPeer elements.
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.
When overridden in a derived class, is called by .
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.
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
The pattern.
Returns:Sends a request to activate a control and initiate its single, unambiguous action.
public void Invoke()