Repeat​Button​Automation​Peer Repeat​Button​Automation​Peer Repeat​Button​Automation​Peer Class

Definition

Exposes RepeatButton types to Microsoft UI Automation.

public : class RepeatButtonAutomationPeer : ButtonBaseAutomationPeer, IRepeatButtonAutomationPeer, IInvokeProviderpublic class RepeatButtonAutomationPeer : ButtonBaseAutomationPeer, IRepeatButtonAutomationPeer, IInvokeProviderPublic Class RepeatButtonAutomationPeer Inherits ButtonBaseAutomationPeer Implements IRepeatButtonAutomationPeer, IInvokeProvider
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

Remarks

The Windows Runtime RepeatButton class creates a new RepeatButtonAutomationPeer as its OnCreateAutomationPeer definition. RepeatButton is sealed, so the normal scenario of deriving from the RepeatButton class and its existing peer isn't applicable to RepeatButtonAutomationPeer.

Default peer implementation and overrides in RepeatButtonAutomationPeer

RepeatButtonAutomationPeer 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

RepeatButtonAutomationPeer(RepeatButton) RepeatButtonAutomationPeer(RepeatButton) RepeatButtonAutomationPeer(RepeatButton)

Initializes a new instance of the RepeatButtonAutomationPeer class.

public : RepeatButtonAutomationPeer(RepeatButton owner)public RepeatButtonAutomationPeer(RepeatButton owner)Public Sub New(owner As RepeatButton)
Parameters
owner
RepeatButton RepeatButton RepeatButton

The owner element to create for.

Attributes

Methods

Invoke() Invoke() Invoke()

Sends a request to click the repeat button associated with the automation peer.

public : void Invoke()public void Invoke()Public Function Invoke() As void
Attributes

See Also