DatePickerAutomationPeer DatePickerAutomationPeer DatePickerAutomationPeer Class

Definition

Exposes DatePicker types to Microsoft UI Automation.

public class DatePickerAutomationPeerpublic class DatePickerAutomationPeerPublic Class DatePickerAutomationPeer
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

Remarks

The Windows Runtime DatePickerAutomationPeer class creates a new DatePickerAutomationPeer as its OnCreateAutomationPeer() definition. Derive your automation peer from DatePickerAutomationPeer if you are deriving a custom class from DatePickerAutomationPeer and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer() so that it returns your custom peer.

Default peer implementation and overrides in DatePickerAutomationPeer

DatePickerAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Constructors

DatePickerAutomationPeer(DatePicker) DatePickerAutomationPeer(DatePicker) DatePickerAutomationPeer(DatePicker) DatePickerAutomationPeer(DatePicker)

Initializes a new instance of the DatePickerAutomationPeer class.

public DatePickerAutomationPeer(DatePicker owner)public New(DatePicker owner)Public Sub New(owner As DatePicker)public DatePickerAutomationPeer(DatePicker owner)
Parameters
owner
DatePicker DatePicker DatePicker

The DatePicker to create the peer for.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)