Export (0) Print
Expand All

ContentTextAutomationPeer Class

Represents a base class for exposing TextPattern types to UI Automation.

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

public abstract class ContentTextAutomationPeer : FrameworkContentElementAutomationPeer

The ContentTextAutomationPeer type exposes the following members.

  NameDescription
Protected methodContentTextAutomationPeerProvides initialization for base class values when called by the constructor of a derived class.
Top

  NameDescription
Public propertyDispatcherGets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public propertyEventsSourceGets 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 propertyIsHwndHostGets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF). (Inherited from AutomationPeer.)
Public propertyOwnerGets the ContentElement that is associated with this ContentElementAutomationPeer. (Inherited from ContentElementAutomationPeer.)
Top

  NameDescription
Public methodCheckAccessDetermines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAcceleratorKeyGets the accelerator key combinations for the element that is associated with the UI Automation peer.  (Inherited from AutomationPeer.)
Protected methodGetAcceleratorKeyCoreGets the accelerator key for the element associated with this ContentElementAutomationPeer. Called by GetAcceleratorKey. (Inherited from ContentElementAutomationPeer.)
Public methodGetAccessKeyGets the access key for the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetAccessKeyCoreGets the access key for the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetAccessKey. (Inherited from ContentElementAutomationPeer.)
Public methodGetAutomationControlTypeGets the control type for the element that is associated with the UI Automation peer. (Inherited from AutomationPeer.)
Protected methodGetAutomationControlTypeCoreGets the control type for the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetAutomationControlType. (Inherited from ContentElementAutomationPeer.)
Public methodGetAutomationIdGets the AutomationId of the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetAutomationIdCoreGets the string that uniquely identifies the FrameworkContentElement that is associated with this ContentElementAutomationPeer. This method is called by GetAutomationId. (Inherited from FrameworkContentElementAutomationPeer.)
Public methodGetBoundingRectangleGets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetBoundingRectangleCoreGets the Rect representing the bounding rectangle of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetBoundingRectangle. (Inherited from ContentElementAutomationPeer.)
Public methodGetChildrenGets 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 methodGetChildrenCoreGets the collection of child elements of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetChildren. (Inherited from ContentElementAutomationPeer.)
Public methodGetClassNameGets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer. (Inherited from AutomationPeer.)
Protected methodGetClassNameCoreGets the name of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetClassName. (Inherited from ContentElementAutomationPeer.)
Public methodGetClickablePointGets a Point on the element that is associated with the automation peer that responds to a mouse click. (Inherited from AutomationPeer.)
Protected methodGetClickablePointCoreGets a Point that represents the clickable space that is on the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetClickablePoint. (Inherited from ContentElementAutomationPeer.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetHelpTextGets text that describes the functionality of the control that is associated with the automation peer. (Inherited from AutomationPeer.)
Protected methodGetHelpTextCoreGets the string that describes the functionality of the FrameworkContentElement that is associated with this ContentElementAutomationPeer. This method is called by GetHelpText. (Inherited from FrameworkContentElementAutomationPeer.)
Protected methodGetHostRawElementProviderCoreTells 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 methodGetItemStatusGets text that conveys the visual status of the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodGetItemStatusCoreGets a string that conveys the visual status of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetItemStatus. (Inherited from ContentElementAutomationPeer.)
Public methodGetItemTypeGets a string that describes what kind of item an object represents. (Inherited from AutomationPeer.)
Protected methodGetItemTypeCoreGets 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.)
Public methodGetLabeledByGets the AutomationPeer for the Label that is targeted to the element. (Inherited from AutomationPeer.)
Protected methodGetLabeledByCoreGets 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.)
Public methodGetLocalizedControlTypeGets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodGetLocalizedControlTypeCoreWhen overridden in a derived class, is called by GetLocalizedControlType. (Inherited from AutomationPeer.)
Public methodGetNameGets text that describes the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodGetNameCoreGets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName. (Inherited from ContentElementAutomationPeer.)
Public methodGetOrientationGets a value that indicates the explicit control orientation, if any. (Inherited from AutomationPeer.)
Protected methodGetOrientationCoreGets 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.)
Public methodGetParentGets the AutomationPeer that is the parent of this AutomationPeer. (Inherited from AutomationPeer.)
Public methodGetPatternGets the control pattern for the ContentElement that is associated with this ContentElementAutomationPeer. (Inherited from ContentElementAutomationPeer.)
Public methodGetPeerFromPointGets an AutomationPeer from the specified point. (Inherited from AutomationPeer.)
Protected methodGetPeerFromPointCoreWhen overridden in a derived class, is called from GetPeerFromPoint. (Inherited from AutomationPeer.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasKeyboardFocusGets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. (Inherited from AutomationPeer.)
Protected methodHasKeyboardFocusCoreGets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer currently has keyboard input focus. Called by HasKeyboardFocus. (Inherited from ContentElementAutomationPeer.)
Public methodInvalidatePeerTriggers 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 methodIsContentElementGets 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 methodIsContentElementCoreGets 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.)
Public methodIsControlElementGets 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 methodIsControlElementCoreGets 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.)
Public methodIsEnabledGets a value that indicates whether the element associated with this automation peer supports interaction. (Inherited from AutomationPeer.)
Protected methodIsEnabledCoreGets a value that indicates whether this automation peer can receive and send events to the associated element. Called by IsEnabled. (Inherited from ContentElementAutomationPeer.)
Public methodIsKeyboardFocusableGets a value that indicates whether the element can accept keyboard focus. (Inherited from AutomationPeer.)
Protected methodIsKeyboardFocusableCoreGets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer can accept keyboard focus. Called by IsKeyboardFocusable. (Inherited from ContentElementAutomationPeer.)
Public methodIsOffscreenGets a value that indicates whether an element is off the screen. (Inherited from AutomationPeer.)
Protected methodIsOffscreenCoreGets a value that indicates whether ContentElement that is associated with this ContentElementAutomationPeer is off of the screen. Called by IsOffscreen. (Inherited from ContentElementAutomationPeer.)
Public methodIsPasswordGets a value that indicates whether the element contains sensitive content. (Inherited from AutomationPeer.)
Protected methodIsPasswordCoreGets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer contains protected content. Called by IsPassword. (Inherited from ContentElementAutomationPeer.)
Public methodIsRequiredForFormGets a value that indicates whether the element that is associated with this peer must be completed on a form. (Inherited from AutomationPeer.)
Protected methodIsRequiredForFormCoreGets 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.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodPeerFromProviderGets an AutomationPeer for the specified IRawElementProviderSimple proxy. (Inherited from AutomationPeer.)
Protected methodProviderFromPeerGets the IRawElementProviderSimple for the specified AutomationPeer. (Inherited from AutomationPeer.)
Public methodRaiseAsyncContentLoadedEventCalled by the AutomationPeer to raise the AsyncContentLoadedEvent event. (Inherited from AutomationPeer.)
Public methodRaiseAutomationEventRaises an automation event. (Inherited from AutomationPeer.)
Public methodRaisePropertyChangedEventRaises an event to notify the automation client of a changed property value. (Inherited from AutomationPeer.)
Public methodResetChildrenCacheSynchronously resets the tree of child elements by calling GetChildrenCore. (Inherited from AutomationPeer.)
Public methodSetFocusSets the keyboard focus on the element that is associated with this automation peer. (Inherited from AutomationPeer.)
Protected methodSetFocusCoreSets the keyboard input focus on the ContentElement that is associated with this ContentElementAutomationPeer. Called by SetFocus. (Inherited from ContentElementAutomationPeer.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodVerifyAccessEnforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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