HyperlinkButtonAutomationPeer HyperlinkButtonAutomationPeer HyperlinkButtonAutomationPeer Class

Exposes HyperlinkButton types to Microsoft UI Automation.

Syntax

Declaration

public class HyperlinkButtonAutomationPeerpublic class HyperlinkButtonAutomationPeerPublic Class HyperlinkButtonAutomationPeer

Inheritance Hierarchy

Inherited Members

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

Remarks

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

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

The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.

Constructors summary

Initializes a new instance of the HyperlinkButtonAutomationPeer class.

Constructors

  • HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)
    HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)
    HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)
    HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)

    Initializes a new instance of the HyperlinkButtonAutomationPeer class.

    public HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)public HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton)Public Function HyperlinkButtonAutomationPeer(Windows.UI.Xaml.Controls.HyperlinkButton) As

    Parameters

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.WebHostHiddenAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Peers.dll