Class SelectorAutomationPeer
Exposes Selector types to UI automation.
Inheritance
System.Object
SelectorAutomationPeer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public abstract class SelectorAutomationPeer : ItemsControlAutomationPeer, IDependencyObject, ISelectionProvider
Constructors
| Improve this Doc View SourceSelectorAutomationPeer(Selector)
Initializes a new instance of the SelectorAutomationPeer class.
Declaration
protected SelectorAutomationPeer(Selector owner)
Parameters
Type | Name | Description |
---|---|---|
Selector | owner | The Selector instance that is associated with this SelectorAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with this SelectorAutomationPeer. 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 SourceGetPattern(PatternInterface)
Gets an object that supports the requested pattern, based on the patterns that are supported by this SelectorAutomationPeer.
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 SourceISelectionProvider.CanSelectMultiple
Declaration
bool ISelectionProvider.CanSelectMultiple { get; }
Returns
Type | Description |
---|---|
System.Boolean |
ISelectionProvider.GetSelection()
Declaration
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
Returns
Type | Description |
---|---|
IRawElementProviderSimple[] |
ISelectionProvider.IsSelectionRequired
Declaration
bool ISelectionProvider.IsSelectionRequired { get; }
Returns
Type | Description |
---|---|
System.Boolean |