In This Article

BarComboBoxAutomationPeer Class

Exposes BarComboBox types to UI Automation.

public class BarComboBoxAutomationPeer : BarGalleryBaseAutomationPeer, IScrollProvider, ISelectionProvider, IExpandCollapseProvider, IValueProvider
Inheritance:
object AutomationPeer ControlAutomationPeer ItemsControlAutomationPeer SelectingItemsControlAutomationPeer BarGalleryBaseAutomationPeer object
Implements:
IScrollProvider ISelectionProvider IExpandCollapseProvider IValueProvider

Constructors

BarComboBoxAutomationPeer(BarComboBox)

Initializes a new instance of the class.

public BarComboBoxAutomationPeer(BarComboBox owner)
Parameter Type Description
owner BarComboBox

The owner element.

Properties

IsReadOnly

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

public bool IsReadOnly { get; }

Property Value

bool

Remarks

WindowsIValueProvider.IsReadOnly
macOSNo mapping.

Value

Gets the value of the control.

public string? Value { get; }

Property Value

string

Remarks

WindowsIValueProvider.Value
macOSNSAccessibilityProtocol.accessibilityValue

Methods

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

Remarks

Gets the type of the element.

WindowsUIA_ControlTypePropertyId
macOSNSAccessibilityProtocol.accessibilityRole

GetChildrenCore()

Gets the child automation peers.

protected override IReadOnlyList<AutomationPeer>? GetChildrenCore()

Returns

IReadOnlyList<AutomationPeer>

Remarks

WindowsIRawElementProviderFragment.Navigate
macOSNSAccessibilityProtocol.accessibilityChildren

GetLocalizedControlTypeCore()

Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.

protected override string GetLocalizedControlTypeCore()

Returns

string

Remarks

WindowsUIA_LocalizedControlTypePropertyId (not yet implemented)
macOSNo mapping.

SetValue(string?)

Sets the value of a control.

public void SetValue(string? value)
Parameter Type Description
value string

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

Remarks

WindowsIValueProvider.SetValue
macOS NSAccessibilityProtocol.setAccessibilityValue (not implemented)

Inherited Members

  • BarGalleryBaseAutomationPeer.GetAutomationIdCore()
  • BarGalleryBaseAutomationPeer.GetClassNameCore()
  • BarGalleryBaseAutomationPeer.GetNameCore()
  • SelectingItemsControlAutomationPeer.GetSelection()
  • SelectingItemsControlAutomationPeer.GetSelectionCore()
  • SelectingItemsControlAutomationPeer.GetSelectionModeCore()
  • SelectingItemsControlAutomationPeer.OwnerPropertyChanged(object, AvaloniaPropertyChangedEventArgs)
  • SelectingItemsControlAutomationPeer.OwnerSelectionChanged(object, SelectionModelSelectionChangedEventArgs)
  • SelectingItemsControlAutomationPeer.CanSelectMultiple
  • SelectingItemsControlAutomationPeer.IsSelectionRequired
  • ItemsControlAutomationPeer.Scroll(ScrollAmount, ScrollAmount)
  • ItemsControlAutomationPeer.SetScrollPercent(double, double)
  • ItemsControlAutomationPeer.Owner
  • ItemsControlAutomationPeer.HorizontallyScrollable
  • ItemsControlAutomationPeer.HorizontalScrollPercent
  • ItemsControlAutomationPeer.HorizontalViewSize
  • ItemsControlAutomationPeer.VerticallyScrollable
  • ItemsControlAutomationPeer.VerticalScrollPercent
  • ItemsControlAutomationPeer.VerticalViewSize
  • ItemsControlAutomationPeer.Scroller
  • ControlAutomationPeer.GetOrCreate(Control)
  • ControlAutomationPeer.CreatePeerForElement(Control)
  • ControlAutomationPeer.FromElement(Control)
  • ControlAutomationPeer.BringIntoViewCore()
  • ControlAutomationPeer.GetOrCreateChildrenCore()
  • ControlAutomationPeer.GetLabeledByCore()
  • ControlAutomationPeer.GetHelpTextCore()
  • ControlAutomationPeer.GetParentCore()
  • ControlAutomationPeer.GetVisualRootCore()
  • ControlAutomationPeer.InvalidateChildren()
  • ControlAutomationPeer.InvalidateParent()
  • ControlAutomationPeer.ShowContextMenuCore()
  • ControlAutomationPeer.TrySetParent(AutomationPeer)
  • ControlAutomationPeer.GetAcceleratorKeyCore()
  • ControlAutomationPeer.GetAccessKeyCore()
  • ControlAutomationPeer.GetBoundingRectangleCore()
  • ControlAutomationPeer.HasKeyboardFocusCore()
  • ControlAutomationPeer.IsContentElementCore()
  • ControlAutomationPeer.IsControlElementCore()
  • ControlAutomationPeer.IsEnabledCore()
  • ControlAutomationPeer.IsKeyboardFocusableCore()
  • ControlAutomationPeer.SetFocusCore()
  • ControlAutomationPeer.GetControlTypeOverrideCore()
  • ControlAutomationPeer.IsContentElementOverrideCore()
  • ControlAutomationPeer.IsControlElementOverrideCore()
  • ControlAutomationPeer.IsOffscreenCore()
  • AutomationPeer.BringIntoView()
  • AutomationPeer.GetAcceleratorKey()
  • AutomationPeer.GetAccessKey()
  • AutomationPeer.GetAutomationControlType()
  • AutomationPeer.GetAutomationId()
  • AutomationPeer.GetBoundingRectangle()
  • AutomationPeer.GetChildren()
  • AutomationPeer.GetClassName()
  • AutomationPeer.GetLabeledBy()
  • AutomationPeer.GetLocalizedControlType()
  • AutomationPeer.GetName()
  • AutomationPeer.GetHelpText()
  • AutomationPeer.GetParent()
  • AutomationPeer.GetVisualRoot()
  • AutomationPeer.HasKeyboardFocus()
  • AutomationPeer.IsContentElement()
  • AutomationPeer.IsControlElement()
  • AutomationPeer.IsEnabled()
  • AutomationPeer.IsKeyboardFocusable()
  • AutomationPeer.IsOffscreen()
  • AutomationPeer.SetFocus()
  • AutomationPeer.ShowContextMenu()
  • AutomationPeer.GetProvider<T>()
  • AutomationPeer.RaiseChildrenChangedEvent()
  • AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, object, object)
  • AutomationPeer.GetProviderCore(Type)
  • AutomationPeer.EnsureEnabled()
  • AutomationPeer.ChildrenChanged
  • AutomationPeer.PropertyChanged
  • object.GetType()
  • object.MemberwiseClone()
  • object.ToString()
  • object.Equals(object)
  • object.Equals(object, object)
  • object.ReferenceEquals(object, object)
  • object.GetHashCode()

Extension Methods