Show / Hide Table of Contents

Class SelectorItemAutomationPeer

Exposes the items in a Selector to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ItemAutomationPeer
SelectorItemAutomationPeer
ListBoxItemAutomationPeer
Implements
ISelectionItemProvider
Inherited Members
ItemAutomationPeer.Item
ItemAutomationPeer.ItemsControlAutomationPeer
ItemAutomationPeer.GetAcceleratorKeyCore()
ItemAutomationPeer.GetAccessKeyCore()
ItemAutomationPeer.GetAutomationControlTypeCore()
ItemAutomationPeer.GetAutomationIdCore()
ItemAutomationPeer.GetBoundingRectangleCore()
ItemAutomationPeer.GetChildrenCore()
ItemAutomationPeer.GetClassNameCore()
ItemAutomationPeer.GetClickablePointCore()
ItemAutomationPeer.GetHelpTextCore()
ItemAutomationPeer.GetItemStatusCore()
ItemAutomationPeer.GetItemTypeCore()
ItemAutomationPeer.GetLabeledByCore()
ItemAutomationPeer.GetLocalizedControlTypeCore()
ItemAutomationPeer.GetNameCore()
ItemAutomationPeer.GetOrientationCore()
ItemAutomationPeer.HasKeyboardFocusCore()
ItemAutomationPeer.IsContentElementCore()
ItemAutomationPeer.IsControlElementCore()
ItemAutomationPeer.IsEnabledCore()
ItemAutomationPeer.IsKeyboardFocusableCore()
ItemAutomationPeer.IsOffscreenCore()
ItemAutomationPeer.IsPasswordCore()
ItemAutomationPeer.IsRequiredForFormCore()
ItemAutomationPeer.SetFocusCore()
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
AutomationPeer.EventsSource
AutomationPeer.ListenerExists(AutomationEvents)
AutomationPeer.GetAcceleratorKey()
AutomationPeer.GetAccessKey()
AutomationPeer.GetAutomationControlType()
AutomationPeer.GetAutomationId()
AutomationPeer.GetBoundingRectangle()
AutomationPeer.GetChildren()
AutomationPeer.GetClassName()
AutomationPeer.GetClickablePoint()
AutomationPeer.GetHelpText()
AutomationPeer.GetItemStatus()
AutomationPeer.GetItemType()
AutomationPeer.GetLabeledBy()
AutomationPeer.GetLocalizedControlType()
AutomationPeer.GetName()
AutomationPeer.GetOrientation()
AutomationPeer.HasKeyboardFocus()
AutomationPeer.IsContentElement()
AutomationPeer.IsControlElement()
AutomationPeer.IsEnabled()
AutomationPeer.IsKeyboardFocusable()
AutomationPeer.IsOffscreen()
AutomationPeer.IsPassword()
AutomationPeer.IsRequiredForForm()
AutomationPeer.SetFocus()
AutomationPeer.InvalidatePeer()
AutomationPeer.GetParent()
AutomationPeer.RaiseAutomationEvent(AutomationEvents)
AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, Object, Object)
AutomationPeer.PeerFromProvider(IRawElementProviderSimple)
AutomationPeer.ProviderFromPeer(AutomationPeer)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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 SelectorItemAutomationPeer : ItemAutomationPeer, IDependencyObject, ISelectionItemProvider

Constructors

| Improve this Doc View Source

SelectorItemAutomationPeer(Object, SelectorAutomationPeer)

Initializes a new instance of the SelectorItemAutomationPeer using the specified selector automation peer.

Declaration
protected SelectorItemAutomationPeer(object owner, SelectorAutomationPeer selectorAutomationPeer)
Parameters
Type Name Description
System.Object owner

The UIElement instance to associate with this SelectorItemAutomationPeer.

SelectorAutomationPeer selectorAutomationPeer

The SelectorAutomationPeer that is associated with the control that holds the Items collection.

| Improve this Doc View Source

SelectorItemAutomationPeer(UIElement)

Initializes a new instance of the SelectorItemAutomationPeer class.

Declaration
protected SelectorItemAutomationPeer(UIElement owner)
Parameters
Type Name Description
UIElement owner

The UIElement instance to associate with this SelectorItemAutomationPeer.

Methods

| Improve this Doc View Source

GetPattern(PatternInterface)

Gets a object that supports the requested pattern, based on the patterns supported by this SelectorItemAutomationPeer.

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
ItemAutomationPeer.GetPattern(PatternInterface)

Explicit Interface Implementations

| Improve this Doc View Source

ISelectionItemProvider.AddToSelection()

Adds current element to selection

Declaration
void ISelectionItemProvider.AddToSelection()
| Improve this Doc View Source

ISelectionItemProvider.IsSelected

Check whether an element is selected

Declaration
bool ISelectionItemProvider.IsSelected { get; }
Returns
Type Description
System.Boolean

returns true if the element is selected

| Improve this Doc View Source

ISelectionItemProvider.RemoveFromSelection()

Removes current element from selection

Declaration
void ISelectionItemProvider.RemoveFromSelection()
| Improve this Doc View Source

ISelectionItemProvider.Select()

Sets the current element as the selection This clears the selection from other elements in the container

Declaration
void ISelectionItemProvider.Select()
| Improve this Doc View Source

ISelectionItemProvider.SelectionContainer

The logical element that supports the SelectionPattern for this Item

Declaration
IRawElementProviderSimple ISelectionItemProvider.SelectionContainer { get; }
Returns
Type Description
IRawElementProviderSimple

returns an IRawElementProviderSimple

Implements

ISelectionItemProvider

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source