Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 2.42 KB

datepickerautomationpeer.md

File metadata and controls

32 lines (22 loc) · 2.42 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.DatePickerAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.DatePickerAutomationPeer

-description

Exposes DatePicker types to Microsoft UI Automation.

-remarks

The Windows Runtime DatePicker class creates a new DatePickerAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from DatePickerAutomationPeer if you are deriving a custom class from DatePicker 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.

-examples

-see-also

FrameworkElementAutomationPeer, DatePicker