Class
RadCalculatorPickerAutomationPeer

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:

cs-api-definition
public class RadCalculatorPickerAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider

Inheritance: objectRadCalculatorPickerAutomationPeer

Implements: IExpandCollapseProvider

Constructors

RadCalculatorPickerAutomationPeer(RadCalculatorPicker)

Initializes a new instance of the RadCalculatorPickerAutomationPeer class.

Declaration

cs-api-definition
public RadCalculatorPickerAutomationPeer(RadCalculatorPicker owner)

Parameters

owner

RadCalculatorPicker

The RadCalculatorPicker.

Properties

ExpandCollapseState

Gets the state (expanded or collapsed) of the control.

Declaration

cs-api-definition
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

cs-api-definition
public void Collapse()

Expand()

Displays all child nodes, controls, or content of the control.

Declaration

cs-api-definition
public void Expand()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.