Show / Hide Table of Contents

Class ListBoxItemAutomationPeer

Exposes the items in the Items collection of a ListBox to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ItemAutomationPeer
SelectorItemAutomationPeer
ListBoxItemAutomationPeer
Implements
ISelectionItemProvider
IScrollItemProvider
Inherited Members
SelectorItemAutomationPeer.ISelectionItemProvider.Select()
SelectorItemAutomationPeer.ISelectionItemProvider.AddToSelection()
SelectorItemAutomationPeer.ISelectionItemProvider.RemoveFromSelection()
SelectorItemAutomationPeer.ISelectionItemProvider.IsSelected
SelectorItemAutomationPeer.ISelectionItemProvider.SelectionContainer
ItemAutomationPeer.Item
ItemAutomationPeer.ItemsControlAutomationPeer
ItemAutomationPeer.GetAcceleratorKeyCore()
ItemAutomationPeer.GetAccessKeyCore()
ItemAutomationPeer.GetAutomationIdCore()
ItemAutomationPeer.GetBoundingRectangleCore()
ItemAutomationPeer.GetChildrenCore()
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 class ListBoxItemAutomationPeer : SelectorItemAutomationPeer, IDependencyObject, ISelectionItemProvider, IScrollItemProvider

Constructors

| Improve this Doc View Source

ListBoxItemAutomationPeer(Object, SelectorAutomationPeer)

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

Declaration
public ListBoxItemAutomationPeer(object owner, SelectorAutomationPeer selectorAutomationPeer)
Parameters
Type Name Description
System.Object owner

The ListBoxItem instance that is associated with this ListBoxItemAutomationPeer.

SelectorAutomationPeer selectorAutomationPeer

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

| Improve this Doc View Source

ListBoxItemAutomationPeer(ListBoxItem)

Initializes a new instance of the ListBoxItemAutomationPeer class.

Declaration
public ListBoxItemAutomationPeer(ListBoxItem owner)
Parameters
Type Name Description
ListBoxItem owner

The ListBoxItem instance that is associated with this ListBoxItemAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with this ListBoxItemAutomationPeer. This method is called by GetAutomationControlType().

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

A value of the enumeration.

Overrides
ItemAutomationPeer.GetAutomationControlTypeCore()
| Improve this Doc View Source

GetClassNameCore()

Gets the name of the class that is associated with this ListBoxItemAutomationPeer. This method is called by GetClassName().

Declaration
protected override string GetClassNameCore()
Returns
Type Description
System.String

The class name.

Overrides
ItemAutomationPeer.GetClassNameCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets an object that supports the requested pattern, based on the patterns supported by this ListBoxItemAutomationPeer.

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

Explicit Interface Implementations

| Improve this Doc View Source

IScrollItemProvider.ScrollIntoView()

Declaration
void IScrollItemProvider.ScrollIntoView()

Implements

ISelectionItemProvider
IScrollItemProvider

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