ClassRadCalculatorPickerAutomationPeer
Represents the automation peer for the RadCalculatorPicker control, providing functionality to support UI Automation. This class inherits from and implements the IExpandCollapseProvider interface, enabling it to expose information about the expand/collapse state of the RadCalculatorPicker and manage the visibility of its child elements. The ExpandCollapseState property indicates whether the control is expanded or collapsed, while the Collapse() and Expand() methods allow for toggling its visibility. Additionally, the class overrides various methods to provide necessary control types and help information specific to the RadCalculatorPicker.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class RadCalculatorPickerAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider
Inheritance: objectRadCalculatorPickerAutomationPeer
Implements:
Constructors
RadCalculatorPickerAutomationPeer(RadCalculatorPicker)
Initializes a new instance of the RadCalculatorPickerAutomationPeer class.
Declaration
public RadCalculatorPickerAutomationPeer(RadCalculatorPicker owner)
Parameters
owner
The RadCalculatorPicker.
Properties
ExpandCollapseState
Gets the state (expanded or collapsed) of the control.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
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()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.