Class HyperlinkButtonAutomationPeer
Exposes HyperlinkButton types to UI automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class HyperlinkButtonAutomationPeer : ButtonBaseAutomationPeer, IDependencyObject, IInvokeProvider
Constructors
| Improve this Doc View SourceHyperlinkButtonAutomationPeer(HyperlinkButton)
Initializes a new instance of the HyperlinkButtonAutomationPeer class.
Declaration
public HyperlinkButtonAutomationPeer(HyperlinkButton owner)
Parameters
Type | Name | Description |
---|---|---|
HyperlinkButton | owner | The HyperlinkButton to associate with the HyperlinkButtonAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with this HyperlinkButtonAutomationPeer. 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 HyperlinkButtonAutomationPeer. 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 HyperlinkButtonAutomationPeer.
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
| Improve this Doc View SourceIsControlElementCore()
Gets a value that indicates whether the element associated with this automation peer is an element that contains data that is presented to the user.
Declaration
protected override bool IsControlElementCore()
Returns
Type | Description |
---|---|
System.Boolean | true if the element is interactive; otherwise, false. |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIInvokeProvider.Invoke()
Declaration
void IInvokeProvider.Invoke()