Class RepeatButtonAutomationPeer
Exposes System.Windows.Controls.Primitives.RepeatButton types to UI automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class RepeatButtonAutomationPeer : ButtonBaseAutomationPeer, IDependencyObject, IInvokeProvider
Constructors
| Improve this Doc View SourceRepeatButtonAutomationPeer(RepeatButton)
Initializes a new instance of the RepeatButtonAutomationPeer class.
Declaration
public RepeatButtonAutomationPeer(RepeatButton owner)
Parameters
Type | Name | Description |
---|---|---|
RepeatButton | owner | The RepeatButton to associate with the RepeatButtonAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with this RepeatButtonAutomationPeer. This method is called by GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
AutomationControlType | A value of the enumeration. |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the class that is associated with this RepeatButtonAutomationPeer. This method is called by GetClassName().
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The class name. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Gets an object that supports the requested pattern, based on the patterns supported by this RepeatButtonAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
PatternInterface | patternInterface | One of the enumeration values. |
Returns
Type | Description |
---|---|
System.Object | The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIInvokeProvider.Invoke()
Declaration
void IInvokeProvider.Invoke()