TextElementAutomationPeer Class
TOC
Collapse the table of content
Expand the table of content

TextElementAutomationPeer Class

 

Exposes TextElement types to UI Automation.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)


public class TextElementAutomationPeer : ContentTextAutomationPeer

NameDescription
System_CAPS_pubmethodTextElementAutomationPeer(TextElement)

Initializes a new instance of the TextElementAutomationPeer class.

NameDescription
System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyEventsSource

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.)

System_CAPS_protpropertyIsHwndHost

Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF).(Inherited from AutomationPeer.)

System_CAPS_pubpropertyOwner

Gets the ContentElement that is associated with this ContentElementAutomationPeer.(Inherited from ContentElementAutomationPeer.)

NameDescription
System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAcceleratorKey()

Gets the accelerator key combinations for the element that is associated with the UI Automation peer. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetAcceleratorKeyCore()

Gets the accelerator key for the element associated with this ContentElementAutomationPeer. Called by GetAcceleratorKey.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetAccessKey()

Gets the access key for the element that is associated with the automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetAccessKeyCore()

Gets the access key for the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetAccessKey.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetAutomationControlType()

Gets the control type for the element that is associated with the UI Automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetAutomationControlTypeCore()

Gets the control type for the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetAutomationControlType.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetAutomationId()

Gets the AutomationId of the element that is associated with the automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetAutomationIdCore()

Gets the string that uniquely identifies the FrameworkContentElement that is associated with this ContentElementAutomationPeer. This method is called by GetAutomationId.(Inherited from FrameworkContentElementAutomationPeer.)

System_CAPS_pubmethodGetBoundingRectangle()

Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetBoundingRectangleCore()

Gets the Rect representing the bounding rectangle of the TextElement that is associated with this TextElementAutomationPeer. Called by GetBoundingRectangle.(Overrides ContentElementAutomationPeer.GetBoundingRectangleCore().)

System_CAPS_pubmethodGetChildren()

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.)

System_CAPS_protmethodGetChildrenCore()

Gets the collection of child elements of the TextElement that is associated with this TextElementAutomationPeer. Called by GetChildren.(Overrides ContentElementAutomationPeer.GetChildrenCore().)

System_CAPS_pubmethodGetClassName()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetClassNameCore()

Gets the name of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetClassName.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetClickablePoint()

Gets a Point on the element that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetClickablePointCore()

Gets a Point that represents the clickable space that is on the TextElement that is associated with this TextElementAutomationPeer. Called by GetClickablePoint.(Overrides ContentElementAutomationPeer.GetClickablePointCore().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetHelpText()

Gets text that describes the functionality of the control that is associated with the automation peer. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetHelpTextCore()

Gets the string that describes the functionality of the FrameworkContentElement that is associated with this ContentElementAutomationPeer. This method is called by GetHelpText.(Inherited from FrameworkContentElementAutomationPeer.)

System_CAPS_protmethodGetHostRawElementProviderCore()

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.)

System_CAPS_pubmethodGetItemStatus()

Gets text that conveys the visual status of the element that is associated with this automation peer. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetItemStatusCore()

Gets a string that conveys the visual status of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetItemStatus.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetItemType()

Gets a string that describes what kind of item an object represents. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetItemTypeCore()

Gets a human-readable string that contains the type of the item that the ContentElement that is associated with this ContentElementAutomationPeer represents. Called by GetItemType.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetLabeledBy()

Gets the AutomationPeer for the Labelthat is targeted to the element. (Inherited from AutomationPeer.)

System_CAPS_protmethodGetLabeledByCore()

Gets the LabelAutomationPeer for the Label that is targeted to the FrameworkContentElement that is associated with this FrameworkContentElementAutomationPeer. This method is called by GetLabeledBy.(Inherited from FrameworkContentElementAutomationPeer.)

System_CAPS_pubmethodGetLocalizedControlType()

Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType.(Inherited from AutomationPeer.)

System_CAPS_pubmethodGetName()

Gets text that describes the element that is associated with this automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetNameCore()

Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetOrientation()

Gets a value that indicates the explicit control orientation, if any.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetOrientationCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is laid out in a specific direction. Called by GetOrientation.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetParent()

Gets the AutomationPeer that is the parent of this AutomationPeer.(Inherited from AutomationPeer.)

System_CAPS_pubmethodGetPattern(PatternInterface)

Gets the control pattern for the ContentElement that is associated with this ContentElementAutomationPeer.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodGetPeerFromPoint(Point)

Gets an AutomationPeer from the specified point.(Inherited from AutomationPeer.)

System_CAPS_protmethodGetPeerFromPointCore(Point)

When overridden in a derived class, is called from GetPeerFromPoint.(Inherited from AutomationPeer.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHasKeyboardFocus()

Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.(Inherited from AutomationPeer.)

System_CAPS_protmethodHasKeyboardFocusCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer currently has keyboard input focus. Called by HasKeyboardFocus.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodInvalidatePeer()

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.)

System_CAPS_pubmethodIsContentElement()

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.)

System_CAPS_protmethodIsContentElementCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is an element that contains data that is presented to the user. Called by IsContentElement.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodIsControlElement()

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.)

System_CAPS_protmethodIsControlElementCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is something that the end user would understand as being interactive or as contributing to the logical structure of the control in the GUI. Called by IsControlElement.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodIsEnabled()

Gets a value that indicates whether the element associated with this automation peer supports interaction.(Inherited from AutomationPeer.)

System_CAPS_protmethodIsEnabledCore()

Gets a value that indicates whether this automation peer can receive and send events to the associated element. Called by IsEnabled.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodIsKeyboardFocusable()

Gets a value that indicates whether the element can accept keyboard focus.(Inherited from AutomationPeer.)

System_CAPS_protmethodIsKeyboardFocusableCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer can accept keyboard focus. Called by IsKeyboardFocusable.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodIsOffscreen()

Gets a value that indicates whether an element is off the screen.(Inherited from AutomationPeer.)

System_CAPS_protmethodIsOffscreenCore()

Gets a value that indicates whether TextElement that is associated with this TextElementAutomationPeer is off of the screen. Called by IsOffscreen.(Overrides ContentElementAutomationPeer.IsOffscreenCore().)

System_CAPS_pubmethodIsPassword()

Gets a value that indicates whether the element contains sensitive content.(Inherited from AutomationPeer.)

System_CAPS_protmethodIsPasswordCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer contains protected content. Called by IsPassword.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodIsRequiredForForm()

Gets a value that indicates whether the element that is associated with this peer must be completed on a form.(Inherited from AutomationPeer.)

System_CAPS_protmethodIsRequiredForFormCore()

Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is required to be filled out on a form. Called by IsRequiredForForm.(Inherited from ContentElementAutomationPeer.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodPeerFromProvider(IRawElementProviderSimple)

Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.(Inherited from AutomationPeer.)

System_CAPS_protmethodProviderFromPeer(AutomationPeer)

Gets the IRawElementProviderSimple for the specified AutomationPeer.(Inherited from AutomationPeer.)

System_CAPS_pubmethodRaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.(Inherited from AutomationPeer.)

System_CAPS_pubmethodRaiseAutomationEvent(AutomationEvents)

Raises an automation event.(Inherited from AutomationPeer.)

System_CAPS_pubmethodRaisePropertyChangedEvent(AutomationProperty, Object, Object)

Raises an event to notify the automation client of a changed property value.(Inherited from AutomationPeer.)

System_CAPS_pubmethodResetChildrenCache()

Synchronously resets the tree of child elements by calling GetChildrenCore. (Inherited from AutomationPeer.)

System_CAPS_pubmethodSetFocus()

Sets the keyboard focus on the element that is associated with this automation peer.(Inherited from AutomationPeer.)

System_CAPS_protmethodSetFocusCore()

Sets the keyboard input focus on the ContentElement that is associated with this ContentElementAutomationPeer. Called by SetFocus.(Inherited from ContentElementAutomationPeer.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft