Show / Hide Table of Contents

Class AutoCompleteBoxAutomationPeer

Exposes AutoCompleteBox types to UI Automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
AutoCompleteBoxAutomationPeer
Implements
IValueProvider
IExpandCollapseProvider
ISelectionProvider
Inherited Members
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
FrameworkElementAutomationPeer.GetAcceleratorKeyCore()
FrameworkElementAutomationPeer.GetAccessKeyCore()
FrameworkElementAutomationPeer.GetAutomationIdCore()
FrameworkElementAutomationPeer.GetHelpTextCore()
FrameworkElementAutomationPeer.GetItemStatusCore()
FrameworkElementAutomationPeer.GetItemTypeCore()
FrameworkElementAutomationPeer.GetLabeledByCore()
FrameworkElementAutomationPeer.GetNameCore()
FrameworkElementAutomationPeer.IsRequiredForFormCore()
FrameworkElementAutomationPeer.GetBoundingRectangleCore()
FrameworkElementAutomationPeer.GetClickablePointCore()
FrameworkElementAutomationPeer.IsContentElementCore()
FrameworkElementAutomationPeer.IsControlElementCore()
FrameworkElementAutomationPeer.IsPasswordCore()
FrameworkElementAutomationPeer.IsEnabledCore()
FrameworkElementAutomationPeer.GetLocalizedControlTypeCore()
FrameworkElementAutomationPeer.GetOrientationCore()
FrameworkElementAutomationPeer.HasKeyboardFocusCore()
FrameworkElementAutomationPeer.IsKeyboardFocusableCore()
FrameworkElementAutomationPeer.IsOffscreenCore()
FrameworkElementAutomationPeer.SetFocusCore()
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.Controls.Input.dll
Syntax
public sealed class AutoCompleteBoxAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, IValueProvider, IExpandCollapseProvider, ISelectionProvider

Constructors

| Improve this Doc View Source

AutoCompleteBoxAutomationPeer(AutoCompleteBox)

Initializes a new instance of the AutoCompleteBoxAutomationPeer class.

Declaration
public AutoCompleteBoxAutomationPeer(AutoCompleteBox owner)
Parameters
Type Name Description
AutoCompleteBox owner

The AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

Gets the control type for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetAutomationControlType.

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

ComboBox AutomationControlType.

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

GetChildrenCore()

Gets the collection of child elements of the AutoCompleteBox that are associated with this AutoCompleteBoxAutomationPeer. This method is called by GetChildren.

Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
Type Description
System.Collections.Generic.List<AutomationPeer>

A collection of automation peer elements, or an empty collection if there are no child elements.

Overrides
FrameworkElementAutomationPeer.GetChildrenCore()
| Improve this Doc View Source

GetClassNameCore()

Gets the name of the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetClassName.

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

The name AutoCompleteBox.

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

GetPattern(PatternInterface)

Gets the control pattern for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type Name Description
PatternInterface patternInterface

The desired PatternInterface.

Returns
Type Description
System.Object

The desired AutomationPeer or null.

Overrides
FrameworkElementAutomationPeer.GetPattern(PatternInterface)

Explicit Interface Implementations

| Improve this Doc View Source

IExpandCollapseProvider.Collapse()

Blocking method that returns after the element has been collapsed.

Declaration
void IExpandCollapseProvider.Collapse()
Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

IExpandCollapseProvider.Expand()

Blocking method that returns after the element has been expanded.

Declaration
void IExpandCollapseProvider.Expand()
Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

IExpandCollapseProvider.ExpandCollapseState

Gets an element's current Collapsed or Expanded state.

Declaration
ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState { get; }
Returns
Type Description
ExpandCollapseState
Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

ISelectionProvider.CanSelectMultiple

Gets a value indicating whether the UI automation provider allows more than one child element to be selected concurrently.

Declaration
bool ISelectionProvider.CanSelectMultiple { get; }
Returns
Type Description
System.Boolean

True if multiple selection is allowed; otherwise, false.

Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

ISelectionProvider.GetSelection()

Retrieves a UI automation provider for each child element that is selected.

Declaration
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
Returns
Type Description
IRawElementProviderSimple[]

An array of UI automation providers.

Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

ISelectionProvider.IsSelectionRequired

Gets a value indicating whether the UI automation provider requires at least one child element to be selected.

Declaration
bool ISelectionProvider.IsSelectionRequired { get; }
Returns
Type Description
System.Boolean

True if selection is required; otherwise, false.

Remarks

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

| Improve this Doc View Source

IValueProvider.IsReadOnly

Gets a value indicating whether the value of a control is read-only.

Declaration
bool IValueProvider.IsReadOnly { get; }
Returns
Type Description
System.Boolean

True if the value is read-only; false if it can be modified.

| Improve this Doc View Source

IValueProvider.SetValue(String)

Sets the value of a control.

Declaration
void IValueProvider.SetValue(string value)
Parameters
Type Name Description
System.String value

The value to set. The provider is responsible for converting the value to the appropriate data type.

| Improve this Doc View Source

IValueProvider.Value

Gets the value of the control.

Declaration
string IValueProvider.Value { get; }
Returns
Type Description
System.String

The value of the control.

Implements

IValueProvider
IExpandCollapseProvider
ISelectionProvider

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