Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 3.39 KB

hubsectionautomationpeer.md

File metadata and controls

34 lines (24 loc) · 3.39 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Automation.Peers.HubSectionAutomationPeer
winrt class

Microsoft.UI.Xaml.Automation.Peers.HubSectionAutomationPeer

-description

Exposes HubSection types to Microsoft UI Automation.

-remarks

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

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

For Windows Phone 8.x apps, GetPattern reports support for the ScrollItem pattern, and implements the ScrollIntoView method for it.

-examples

-see-also

FrameworkElementAutomationPeer, HubAutomationPeer, Hub, Custom automation peers