ClassDateTimePickerAutomationPeer
Automation Peer for the DateTimePicker class.
Definition
Namespace:Telerik.UI.Automation.Peers
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class DateTimePickerAutomationPeer : RadHeaderedControlAutomationPeer, IValueProvider, IExpandCollapseProvider
Inheritance: objectRadControlAutomationPeerRadHeaderedControlAutomationPeerDateTimePickerAutomationPeer
Derived Classes:
Implements:
Constructors
DateTimePickerAutomationPeer(DateTimePicker)
Initializes a new instance of the DateTimePickerAutomationPeer class.
Declaration
public DateTimePickerAutomationPeer(DateTimePicker owner)
Parameters
owner
The DateTimePicker that is associated with this DateTimePickerAutomationPeer.
Properties
ExpandCollapseState
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
ExpandCollapseState
Methods
Collapse()
IExpandCollapseProvider implementation.
Declaration
public void Collapse()
GetAutomationControlTypeCore()
Gets the control type for the DateTimePicker that is associated with this DateTimePickerAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
Overrides
GetChildrenCore()
Declaration
protected override IList<AutomationPeer> GetChildrenCore()
Returns
IList<AutomationPeer>
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
Overrides
GetNameCore()
GetNameCore will return a value matching (in priority order)
- Automation.Name
- Header
- FrameworkElements.GetNameCore()
- String.Empty
The priority mimics the behavior in AutoSuggestBox / ComboBox.
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
SetValue(string)
IValueProvider implementation.