AppBarButtonAutomationPeer AppBarButtonAutomationPeer AppBarButtonAutomationPeer Class

Definition

Exposes AppBarButton types to Microsoft UI Automation.

public class AppBarButtonAutomationPeerpublic class AppBarButtonAutomationPeerPublic Class AppBarButtonAutomationPeer
Inheritance
Attributes
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

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 AppBarButton class creates a new AppBarButtonAutomationPeer as its OnCreateAutomationPeer() definition. Derive your automation peer from AppBarButtonAutomationPeer if you are deriving a custom class from AppBarButton 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 AppBarButtonAutomationPeer

AppBarButtonAutomationPeer 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

AppBarButtonAutomationPeer(AppBarButton) AppBarButtonAutomationPeer(AppBarButton) AppBarButtonAutomationPeer(AppBarButton) AppBarButtonAutomationPeer(AppBarButton)

Initializes a new instance of the AppBarButtonAutomationPeer class.

public AppBarButtonAutomationPeer(AppBarButton owner)public New(AppBarButton owner)Public Sub New(owner As AppBarButton)public AppBarButtonAutomationPeer(AppBarButton owner)
Parameters
owner
AppBarButton AppBarButton AppBarButton

The AppBarButton to create the peer for.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)