Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 3.12 KB

hubautomationpeer.md

File metadata and controls

34 lines (23 loc) · 3.12 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.HubAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.HubAutomationPeer

-description

Exposes Hub types to Microsoft UI Automation.

-remarks

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

HubAutomationPeer 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, HubSectionAutomationPeer, Custom automation peers