Click or drag to resize

TabControlAutomationPeer Class

Version 101.0.180
Default TabControl's AutomationPeer doesn’t know anything about the controls within it, since they’re loaded dynamically. The purpose of this class is to fix this behavior.
Inheritance Hierarchy

Namespace:  CefSharp.Wpf.Experimental.Accessibility
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public class TabControlAutomationPeer : UIElementAutomationPeer

The TabControlAutomationPeer type exposes the following members.

Constructors
  NameDescription
Public methodTabControlAutomationPeer
Initializes a new instance of the TabControlAutomationPeer class
Top
Properties
  NameDescription
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyEventsSource
Gets or sets an AutomationPeer that is reported to the automation client as a source for all the events that come from this AutomationPeer.
(Inherited from AutomationPeer.)
Protected propertyIsHwndHost
Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF).
(Inherited from AutomationPeer.)
Public propertyOwner
Gets the UIElement that is associated with this UIElementAutomationPeer.
(Inherited from UIElementAutomationPeer.)
Top
Methods
  NameDescription
Public methodCheckAccess
Determines whether the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAcceleratorKey
Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer.)
Protected methodGetAcceleratorKeyCore
Gets the accelerator key for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAcceleratorKey.
(Inherited from UIElementAutomationPeer.)
Public methodGetAccessKey
Gets the access key for the element that is associated with the automation peer.
(Inherited from AutomationPeer.)
Protected methodGetAccessKeyCore
Gets the access key for the UIElement that is associated with this UIElementAutomationPeer.This method is called by GetAccessKey.
(Inherited from UIElementAutomationPeer.)
Public methodGetAutomationControlType
Gets the control type for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer.)
Protected methodGetAutomationControlTypeCore
Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType.
(Inherited from UIElementAutomationPeer.)
Public methodGetAutomationId
Gets the AutomationId of the element that is associated with the automation peer.
(Inherited from AutomationPeer.)
Protected methodGetAutomationIdCore
Gets the string that uniquely identifies the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationId.
(Inherited from UIElementAutomationPeer.)
Public methodGetBoundingRectangle
Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.
(Inherited from AutomationPeer.)
Protected methodGetBoundingRectangleCore
Gets the Rect that represents the bounding rectangle of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetBoundingRectangle.
(Inherited from UIElementAutomationPeer.)
Public methodGetChildren
Gets the collection of GetChildren elements that are represented in the UI Automation tree as immediate child elements of the automation peer.
(Inherited from AutomationPeer.)
Protected methodGetChildrenCore (Overrides UIElementAutomationPeerGetChildrenCore.)
Public methodGetClassName
Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.
(Inherited from AutomationPeer.)
Protected methodGetClassNameCore
Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName.
(Inherited from UIElementAutomationPeer.)
Public methodGetClickablePoint
Gets a Point on the element that is associated with the automation peer that responds to a mouse click.
(Inherited from AutomationPeer.)
Protected methodGetClickablePointCore
Gets a Point that represents the clickable space that is on the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClickablePoint.
(Inherited from UIElementAutomationPeer.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHelpText
Gets text that describes the functionality of the control that is associated with the automation peer.
(Inherited from AutomationPeer.)
Protected methodGetHelpTextCore
Gets the string that describes the functionality of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetHelpText.
(Inherited from UIElementAutomationPeer.)
Protected methodGetHostRawElementProviderCore
Tells UI Automation where in the UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF) element.
(Inherited from AutomationPeer.)
Public methodGetItemStatus
Gets text that conveys the visual status of the element that is associated with this automation peer.
(Inherited from AutomationPeer.)
Protected methodGetItemStatusCore
Gets a string that communicates the visual status of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetItemStatus.
(Inherited from UIElementAutomationPeer.)
Public methodGetItemType
Gets a string that describes what kind of item an object represents.
(Inherited from AutomationPeer.)
Protected methodGetItemTypeCore
Gets a human-readable string that contains the item type that the UIElement for this UIElementAutomationPeer represents. This method is called by GetItemType.
(Inherited from UIElementAutomationPeer.)
Public methodGetLabeledBy
Gets the AutomationPeer for the Label that is targeted to the element.
(Inherited from AutomationPeer.)
Protected methodGetLabeledByCore
Gets the AutomationPeer for the element that is targeted to the UIElement for this UIElementAutomationPeer. This method is called by GetLabeledBy.
(Inherited from UIElementAutomationPeer.)
Public methodGetLocalizedControlType
Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.
(Inherited from AutomationPeer.)
Protected methodGetLocalizedControlTypeCore (Inherited from AutomationPeer.)
Public methodGetName
Gets text that describes the element that is associated with this automation peer.
(Inherited from AutomationPeer.)
Protected methodGetNameCore
Gets the text label of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetName.
(Inherited from UIElementAutomationPeer.)
Public methodGetOrientation
Gets a value that indicates the explicit control orientation, if any.
(Inherited from AutomationPeer.)
Protected methodGetOrientationCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation.
(Inherited from UIElementAutomationPeer.)
Public methodGetParent
Gets the AutomationPeer that is the parent of this AutomationPeer.
(Inherited from AutomationPeer.)
Public methodGetPattern
Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.
(Inherited from UIElementAutomationPeer.)
Public methodGetPeerFromPoint
Gets an AutomationPeer from the specified point.
(Inherited from AutomationPeer.)
Protected methodGetPeerFromPointCore
When overridden in a derived class, is called from GetPeerFromPoint(Point).
(Inherited from AutomationPeer.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasKeyboardFocus
Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.
(Inherited from AutomationPeer.)
Protected methodHasKeyboardFocusCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer currently has keyboard input focus. This method is called by HasKeyboardFocus.
(Inherited from UIElementAutomationPeer.)
Public methodInvalidatePeer
Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.
(Inherited from AutomationPeer.)
Public methodIsContentElement
Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.
(Inherited from AutomationPeer.)
Protected methodIsContentElementCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is an element that contains data that is presented to the user. This method is called by IsContentElement.
(Inherited from UIElementAutomationPeer.)
Public methodIsControlElement
Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI.
(Inherited from AutomationPeer.)
Protected methodIsControlElementCore
Gets or sets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is understood by the end user as interactive. Optionally, the user might understand the UIElement as contributing to the logical structure of the control in the GUI. This method is called by IsControlElement.
(Inherited from UIElementAutomationPeer.)
Public methodIsEnabled
Gets a value that indicates whether the element associated with this automation peer supports interaction.
(Inherited from AutomationPeer.)
Protected methodIsEnabledCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. This method is called by IsKeyboardFocusable.
(Inherited from UIElementAutomationPeer.)
Public methodIsKeyboardFocusable
Gets a value that indicates whether the element can accept keyboard focus.
(Inherited from AutomationPeer.)
Protected methodIsKeyboardFocusableCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. This method is called by IsKeyboardFocusable.
(Inherited from UIElementAutomationPeer.)
Public methodIsOffscreen
Gets a value that indicates whether an element is off the screen.
(Inherited from AutomationPeer.)
Protected methodIsOffscreenCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is off the screen. This method is called by IsOffscreen.
(Inherited from UIElementAutomationPeer.)
Public methodIsPassword
Gets a value that indicates whether the element contains sensitive content.
(Inherited from AutomationPeer.)
Protected methodIsPasswordCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer contains protected content. This method is called by IsPassword.
(Inherited from UIElementAutomationPeer.)
Public methodIsRequiredForForm
Gets a value that indicates whether the element that is associated with this peer must be completed on a form.
(Inherited from AutomationPeer.)
Protected methodIsRequiredForFormCore
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is required to be completed on a form. This method is called by IsRequiredForForm.
(Inherited from UIElementAutomationPeer.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPeerFromProvider
Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.
(Inherited from AutomationPeer.)
Protected methodProviderFromPeer
Gets the IRawElementProviderSimple for the specified AutomationPeer.
(Inherited from AutomationPeer.)
Public methodRaiseAsyncContentLoadedEvent
Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.
(Inherited from AutomationPeer.)
Public methodRaiseAutomationEvent
Raises an automation event.
(Inherited from AutomationPeer.)
Public methodRaisePropertyChangedEvent
Raises an event to notify the automation client of a changed property value.
(Inherited from AutomationPeer.)
Public methodResetChildrenCache
Synchronously resets the tree of child elements by calling GetChildrenCore.
(Inherited from AutomationPeer.)
Public methodSetFocus
Sets the keyboard focus on the element that is associated with this automation peer.
(Inherited from AutomationPeer.)
Protected methodSetFocusCore
Sets the keyboard input focus on the UIElement that is associated with this UIElementAutomationPeer. This method is called by SetFocus.
(Inherited from UIElementAutomationPeer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyAccess
Enforces that the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Top
Remarks
Taken from https://www.colinsalmcorner.com/post/genericautomationpeer--helping-the-coded-ui-framework-find-your-custom-controls
See Also