HubSectionAutomationPeer HubSectionAutomationPeer HubSectionAutomationPeer HubSectionAutomationPeer Class


Exposes HubSection types to Microsoft UI Automation.

public : class HubSectionAutomationPeer : FrameworkElementAutomationPeer, IHubSectionAutomationPeer, IScrollItemProviderpublic class HubSectionAutomationPeer : FrameworkElementAutomationPeer, IHubSectionAutomationPeer, IScrollItemProviderPublic Class HubSectionAutomationPeer Inherits FrameworkElementAutomationPeer Implements IHubSectionAutomationPeer, IScrollItemProvider// This API is not available in Javascript.
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


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 Store app, GetPattern reports support for the ScrollItem pattern, and implements the ScrollIntoView method for it.


HubSectionAutomationPeer(HubSection) HubSectionAutomationPeer(HubSection) HubSectionAutomationPeer(HubSection) HubSectionAutomationPeer(HubSection)

Initializes a new instance of the HubSectionAutomationPeer class.

public : HubSectionAutomationPeer(HubSection owner)public HubSectionAutomationPeer(HubSection owner)Public Sub New(owner As HubSection)// This API is not available in Javascript.
HubSection HubSection HubSection HubSection

The HubSection to create the peer for.


ScrollIntoView() ScrollIntoView() ScrollIntoView() ScrollIntoView()

Scrolls the content area of the parent container in order to display the item within the visible region (viewport) of the container.

public : void ScrollIntoView()public void ScrollIntoView()Public Function ScrollIntoView() As void// This API is not available in Javascript.

See Also