Class
RadDateTimePickerAutomationPeer

The AutomationPeer associated with the RadDateTimePicker class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class RadDateTimePickerAutomationPeer : FrameworkElementAutomationPeer, IValueProvider, IExpandCollapseProvider

Inheritance: objectRadDateTimePickerAutomationPeer

Implements: IExpandCollapseProviderIValueProvider

Constructors

RadDateTimePickerAutomationPeer(RadDateTimePicker)

Initializes a new instance of the RadDateTimePickerAutomationPeer class.

Declaration

cs-api-definition
public RadDateTimePickerAutomationPeer(RadDateTimePicker owner)

Parameters

owner

RadDateTimePicker

The owner.

Properties

ExpandCollapseState

IExpandCollapseProvider implementation.

Declaration

cs-api-definition
public ExpandCollapseState ExpandCollapseState { get; }

Property Value

ExpandCollapseState

IsReadOnly

IValueProvider implementation.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

Value

IValueProvider implementation.

Declaration

cs-api-definition
public string Value { get; }

Property Value

string

Methods

Collapse()

IExpandCollapseProvider implementation.

Declaration

cs-api-definition
public void Collapse()

Expand()

IExpandCollapseProvider implementation.

Declaration

cs-api-definition
public void Expand()

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

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

Declaration

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

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

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.

GetPattern(PatternInterface)

Gets a control pattern that is associated with this AutomationPeer.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

One of the enumeration values that indicates the control pattern.

Returns

object

The object that implements the pattern interface, or null.

SetValue(string)

IValueProvider implementation.

Declaration

cs-api-definition
public void SetValue(string value)

Parameters

value

string