New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadCalculatorPickerAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider

Inheritance: objectRadCalculatorPickerAutomationPeer

Implements: IExpandCollapseProvider

Constructors

Initializes a new instance of the RadCalculatorPickerAutomationPeer class.

C#
public RadCalculatorPickerAutomationPeer(RadCalculatorPicker owner)
Parameters:ownerRadCalculatorPicker

The RadCalculatorPicker.

Properties

ExpandCollapseState

ExpandCollapseState

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

C#
public ExpandCollapseState ExpandCollapseState { get; }
Property Value:

The state (expanded or collapsed) of the control.

Methods

Hides all nodes, controls, or content that are descendants of the control.

C#
public void Collapse()

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

C#
public void Expand()
C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.