In This Article

BarGalleryBaseAutomationPeer Class

Exposes BarGalleryBase types to UI Automation.

public class BarGalleryBaseAutomationPeer : SelectingItemsControlAutomationPeer, IScrollProvider, ISelectionProvider
Inheritance:
object AutomationPeer ControlAutomationPeer ItemsControlAutomationPeer SelectingItemsControlAutomationPeer object
Derived:
BarComboBoxAutomationPeer BarMenuGalleryAutomationPeer RibbonGalleryAutomationPeer
Implements:
IScrollProvider ISelectionProvider

Constructors

BarGalleryBaseAutomationPeer(BarGalleryBase)

Initializes a new instance of the class.

public BarGalleryBaseAutomationPeer(BarGalleryBase owner)
Parameter Type Description
owner BarGalleryBase

The owner element.

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

GetAutomationIdCore()

Gets the automation ID of the element that is associated with the UI Automation peer.

protected override string GetAutomationIdCore()

Returns

string

Remarks

WindowsUIA_AutomationIdPropertyId
macOSNSAccessibilityProtocol.accessibilityIdentifier

GetClassNameCore()

Gets a string that describes the class of the element.

protected override string GetClassNameCore()

Returns

string

Remarks

A string containing the class name for the automation element as assigned by the control developer. This is often the C# class name of the control.

WindowsUIA_ClassNamePropertyId
macOSNo mapping.

GetNameCore()

Gets text that describes the element that is associated with this automation peer.

protected override string? GetNameCore()

Returns

string

Remarks

WindowsUIA_NamePropertyId (not yet implemented)
macOS When the control type is Avalonia.Automation.Peers.AutomationControlType.Text, this value is exposed by both NSAccessibilityProtocol.accessibilityTitle and NSAccessibilityProtocol.accessibilityValue .

Inherited Members

  • 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.GetChildrenCore()
  • 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.GetLocalizedControlTypeCore()
  • 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