HubSectionAutomationPeer HubSectionAutomationPeer HubSectionAutomationPeer Class

Exposes HubSection types to Microsoft UI Automation.

Syntax

Declaration

public class HubSectionAutomationPeerpublic class HubSectionAutomationPeerPublic Class HubSectionAutomationPeer

Inheritance Hierarchy

Inherited Members

Inherited methods

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Inherited properties

, ,

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

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

Constructors summary

Initializes a new instance of the HubSectionAutomationPeer class.

Methods summary

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

Constructors

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

    Initializes a new instance of the HubSectionAutomationPeer class.

    public HubSectionAutomationPeer(HubSection owner)public New(HubSection owner)Public Sub New(owner As HubSection)public HubSectionAutomationPeer(HubSection owner)

    Parameters

Methods

  • 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 voidpublic void ScrollIntoView()

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Peers.dll