RepeatButtonAutomationPeer
RepeatButtonAutomationPeer
RepeatButtonAutomationPeer
RepeatButtonAutomationPeer
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// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerRepeatButtonAutomationPeerRepeatButtonAutomationPeerRepeatButtonAutomationPeerRepeatButtonAutomationPeer
- Attributes
| 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.
- GetPattern reports that the peer provides pattern support for PatternInterface.Invoke (IInvokeProvider ).
- GetClassName returns "RepeatButton".
- GetAutomationControlType returns AutomationControlType.Button.
- IsControlElement returns true. This peer has the immediate base class ButtonBaseAutomationPeer and inherits its behavior other than the overrides indicated above. Notably, GetName returns a string value based on examining the current Content. For more info, see ButtonBaseAutomationPeer.
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) RepeatButtonAutomationPeer(RepeatButton)
Initializes a new instance of the RepeatButtonAutomationPeer class.
public : RepeatButtonAutomationPeer(RepeatButton owner)public RepeatButtonAutomationPeer(RepeatButton owner)Public Sub New(owner As RepeatButton)// This API is not available in Javascript.
The owner element to create for.