Show / Hide Table of Contents

Class ComboBoxAutomationPeer

Exposes ComboBox types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ItemsControlAutomationPeer
SelectorAutomationPeer
ComboBoxAutomationPeer
Implements
ISelectionProvider
IValueProvider
IExpandCollapseProvider
Inherited Members
SelectorAutomationPeer.ISelectionProvider.GetSelection()
SelectorAutomationPeer.ISelectionProvider.CanSelectMultiple
SelectorAutomationPeer.ISelectionProvider.IsSelectionRequired
ItemsControlAutomationPeer.GetChildrenCore()
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.dll
Syntax
public class ComboBoxAutomationPeer : SelectorAutomationPeer, IDependencyObject, ISelectionProvider, IValueProvider, IExpandCollapseProvider

Constructors

| Improve this Doc View Source

ComboBoxAutomationPeer(ComboBox)

Initializes a new instance of the ComboBoxAutomationPeer class.

Declaration
public ComboBoxAutomationPeer(ComboBox owner)
Parameters
Type Name Description
ComboBox owner

The ComboBox instance to associate with this ComboBoxAutomationPeer.

Methods

| Improve this Doc View Source

CreateItemAutomationPeer(Object)

Creates an automation peer for an individual item in the ComboBox (or other element) associated with this ComboBoxAutomationPeer.

Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
Type Name Description
System.Object item

The item to create the automation peer for.

Returns
Type Description
ItemAutomationPeer

The new ListBoxItemAutomationPeer for the specified item in the children collection.

Overrides
ItemsControlAutomationPeer.CreateItemAutomationPeer(Object)
| Improve this Doc View Source

GetAutomationControlTypeCore()

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

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

The control type as a value of the enumeration.

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

GetClassNameCore()

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

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

The class name.

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

GetPattern(PatternInterface)

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

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

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
SelectorAutomationPeer.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()
| Improve this Doc View Source

IExpandCollapseProvider.Expand()

Blocking method that returns after the element has been expanded.

Declaration
void IExpandCollapseProvider.Expand()
| Improve this Doc View Source

IExpandCollapseProvider.ExpandCollapseState

indicates an element's current Collapsed or Expanded state

Declaration
ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState { get; }
Returns
Type Description
ExpandCollapseState
| Improve this Doc View Source

IValueProvider.IsReadOnly

Indicates that the value can only be read, not modified. returns True if the control is read-only

Declaration
bool IValueProvider.IsReadOnly { get; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IValueProvider.SetValue(String)

Request to set the value that this UI element is representing

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

Value to set the UI to, as an object

| Improve this Doc View Source

IValueProvider.Value

Value of a value control, as a a string.

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

Implements

ISelectionProvider
IValueProvider
IExpandCollapseProvider

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