Show / Hide Table of Contents

Class PickerAutomationPeer

Exposes Picker types to UI Automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
PickerAutomationPeer
TimePickerAutomationPeer
Implements
IExpandCollapseProvider
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.GetChildrenCore()
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.Toolkit.dll
Syntax
public abstract class PickerAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject, IExpandCollapseProvider

Constructors

| Improve this Doc View Source

PickerAutomationPeer(Picker)

Initializes a new instance of the PickerAutomationPeer class.

Declaration
protected PickerAutomationPeer(Picker owner)
Parameters
Type Name Description
Picker owner

The Picker that is associated to this AutomationPeer.

Properties

| Improve this Doc View Source

ExpandCollapseState

Gets an element's current Collapsed or Expanded state.

Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
Type Description
ExpandCollapseState
Remarks

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

Methods

| Improve this Doc View Source

Collapse()

Blocking method that returns after the element has been collapsed.

Declaration
public void 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

Expand()

Blocking method that returns after the element has been expanded.

Declaration
public void 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

GetAutomationControlTypeCore()

Gets the control type for the Picker that is associated with this PickerAutomationPeer. 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

GetClassNameCore()

Gets the name of the Picker that is associated with this PickerAutomationPeer. This method is called by GetClassName.

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

The name Picker.

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

GetPattern(PatternInterface)

Returns the control pattern for the UIElement that is associated with this FrameworkElementAutomationPeer.

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

One of the enumeration values.

Returns
Type Description
System.Object

Returns an AutomationPeer that can handle the the pattern, or null.

Overrides
FrameworkElementAutomationPeer.GetPattern(PatternInterface)

Implements

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