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

The AutomationPeer associated with the RadDateTimePicker class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class RadDateTimePickerAutomationPeer : FrameworkElementAutomationPeer, IValueProvider, IExpandCollapseProvider

Inheritance: objectRadDateTimePickerAutomationPeer

Implements: IExpandCollapseProviderIValueProvider

Constructors

Initializes a new instance of the RadDateTimePickerAutomationPeer class.

C#
public RadDateTimePickerAutomationPeer(RadDateTimePicker owner)
Parameters:ownerRadDateTimePicker

The owner.

Properties

ExpandCollapseState

ExpandCollapseState

IExpandCollapseProvider implementation.

C#
public ExpandCollapseState ExpandCollapseState { get; }

IValueProvider implementation.

C#
public bool IsReadOnly { get; }

IValueProvider implementation.

C#
public string Value { get; }

Methods

IExpandCollapseProvider implementation.

C#
public void Collapse()

IExpandCollapseProvider implementation.

C#
public void Expand()

Returns the control type for the UIElement associated with this AutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

Gets the collection of child elements of the UIElement that is associated with this . This method is called by .

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

List<AutomationPeer>

A list of child AutomationPeer elements.

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.

Gets a control pattern that is associated with this AutomationPeer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

One of the enumeration values that indicates the control pattern.

Returns:

object

The object that implements the pattern interface, or null.

IValueProvider implementation.

C#
public void SetValue(string value)
Parameters:valuestring