Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.33 KB

calendardatepickerautomationpeer.md

File metadata and controls

30 lines (20 loc) · 2.33 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Automation.Peers.CalendarDatePickerAutomationPeer
winrt class

Microsoft.UI.Xaml.Automation.Peers.CalendarDatePickerAutomationPeer

-description

Exposes CalendarDatePicker types to Microsoft UI Automation.

-remarks

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

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

-see-also

FrameworkElementAutomationPeer, CalendarDatePicker

-examples