TextBlockControlAutomationPeer 类

继承层次结构

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Automation.Peers.AutomationPeer
      System.Windows.Automation.Peers.UIElementAutomationPeer
        System.Windows.Automation.Peers.FrameworkElementAutomationPeer
          System.Windows.Automation.Peers.TextBlockAutomationPeer
            Microsoft.TeamFoundation.Controls.WPF.TextBlockControlAutomationPeer

命名空间:  Microsoft.TeamFoundation.Controls.WPF
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
Public Class TextBlockControlAutomationPeer _
    Inherits TextBlockAutomationPeer
public class TextBlockControlAutomationPeer : TextBlockAutomationPeer

TextBlockControlAutomationPeer 类型公开以下成员。

构造函数

  名称 说明
公共方法 TextBlockControlAutomationPeer

页首

属性

  名称 说明
公共属性 Dispatcher 获取与此 DispatcherObject 关联的 Dispatcher。 (继承自 DispatcherObject。)
公共属性 EventsSource 获取或设置一个 AutomationPeer,它作为来自此 AutomationPeer 的所有事件的源报告给自动化客户端。 (继承自 AutomationPeer。)
受保护的属性 IsHwndHost 获取一个值,该值指示与此 AutomationPeer 关联的元素是否承载 Windows Presentation Foundation (WPF) 中的 hwnds。 (继承自 AutomationPeer。)
公共属性 Owner 获取与此 UIElementAutomationPeer 关联的 UIElement。 (继承自 UIElementAutomationPeer。)

页首

方法

  名称 说明
公共方法 CheckAccess 确定调用线程是否可以访问此 DispatcherObject。 (继承自 DispatcherObject。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetAcceleratorKey 获取与 UI 自动化 对等方关联的元素的快捷键组合。  (继承自 AutomationPeer。)
受保护的方法 GetAcceleratorKeyCore 获取与此 UIElementAutomationPeer 关联的 UIElement 的快捷键。此方法由 GetAcceleratorKey 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetAccessKey 获取与自动化同级关联的元素的快捷键。 (继承自 AutomationPeer。)
受保护的方法 GetAccessKeyCore 获取与此 UIElementAutomationPeer 关联的 UIElement 的快捷键。此方法由 GetAccessKey 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetAutomationControlType 获取与 UI 自动化同级关联的元素的控件类型。 (继承自 AutomationPeer。)
受保护的方法 GetAutomationControlTypeCore 获取与此 TextBlockAutomationPeerTextBlock 的 控件类型 。调用 GetAutomationControlType。 (继承自 TextBlockAutomationPeer。)
公共方法 GetAutomationId 获取与自动化同级关联的元素的 AutomationId。 (继承自 AutomationPeer。)
受保护的方法 GetAutomationIdCore 获取唯一标识 FrameworkElement 与此 FrameworkElementAutomationPeer的字符串。调用 GetAutomationId。 (继承自 FrameworkElementAutomationPeer。)
公共方法 GetBoundingRectangle 获取表示与自动化同级关联的元素的屏幕坐标的 Rect 对象。 (继承自 AutomationPeer。)
受保护的方法 GetBoundingRectangleCore 获取表示与此 UIElementAutomationPeer 关联的 UIElement 的边框的 Rect。此方法由 GetBoundingRectangle 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetChildren 获取在 UI 自动化树中表示为自动化对等方的直接子元素的 GetChildren 元素的集合。 (继承自 AutomationPeer。)
受保护的方法 GetChildrenCore 获取与此 TextBlockAutomationPeerTextBlock 的子元素的集合。调用 GetChildren。 (继承自 TextBlockAutomationPeer。)
公共方法 GetClassName 获取与 AutomationControlType 一起使用的名称,以区分由此 AutomationPeer 表示的控件。 (继承自 AutomationPeer。)
受保护的方法 GetClassNameCore 获取与此 TextBlockAutomationPeerTextBlock 的名称。调用 GetClassName。 (继承自 TextBlockAutomationPeer。)
公共方法 GetClickablePoint 获取与自动化同级相关联的元素上响应鼠标单击的 Point。 (继承自 AutomationPeer。)
受保护的方法 GetClickablePointCore 获取表示与此 UIElementAutomationPeer 关联的 UIElement 上可点击的空间的 Point。此方法由 GetClickablePoint 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetHelpText 获取描述与自动化同级关联的控件的功能的文本。 (继承自 AutomationPeer。)
受保护的方法 GetHelpTextCore 获取描述 ContentElement 功能与此 ContentElementAutomationPeer的字符串。调用 GetHelpText。 (继承自 FrameworkElementAutomationPeer。)
受保护的方法 GetHostRawElementProviderCore 通知 UI 自动化 要将由 Windows Presentation Foundation (WPF) 元素承载的 hwnd 放置在 UI 自动化树中的位置。 (继承自 AutomationPeer。)
公共方法 GetItemStatus 获取可传达与此自动化同级关联的元素的可视状态的文本。 (继承自 AutomationPeer。)
受保护的方法 GetItemStatusCore 获取传送与此 UIElementAutomationPeer 关联的 UIElement 的可视状态的字符串。此方法由 GetItemStatus 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetItemType 获取一个字符串,它描述对象表示何种类型的项。 (继承自 AutomationPeer。)
受保护的方法 GetItemTypeCore 获取包含此 UIElementAutomationPeerUIElement 表示的项类型的可读字符串。此方法由 GetItemType 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetLabeledBy 获取以此元素为目标的 LabelAutomationPeer。 (继承自 AutomationPeer。)
受保护的方法 GetLabeledByCore 获取目标为此 UIElementAutomationPeerUIElement 的元素的 AutomationPeer。此方法由 GetLabeledBy 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetLocalizedControlType 获取一个可读的本地化字符串,该字符串表示与此自动化对等方关联的控件的 AutomationControlType 值。 (继承自 AutomationPeer。)
受保护的方法 GetLocalizedControlTypeCore 当在派生类中重写时,将由 GetLocalizedControlType 调用。 (继承自 AutomationPeer。)
公共方法 GetName 获取描述与此自动化同级关联的元素的文本。 (继承自 AutomationPeer。)
受保护的方法 GetNameCore 获取与此 ContentElementAutomationPeerContentElement 的文本标签。调用 GetName。 (继承自 FrameworkElementAutomationPeer。)
公共方法 GetOrientation 获取指示显式控件方向(如果有)的值。 (继承自 AutomationPeer。)
受保护的方法 GetOrientationCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否以特定方向布局。此方法由 GetOrientation 调用。 (继承自 UIElementAutomationPeer。)
公共方法 GetParent 获取作为此 AutomationPeer 的父级的 AutomationPeer。 (继承自 AutomationPeer。)
公共方法 GetPattern 获取与此 UIElementAutomationPeer 关联的 UIElement 的控件模式。 (继承自 UIElementAutomationPeer。)
公共方法 GetPeerFromPoint 从指定的点获取 AutomationPeer。 (继承自 AutomationPeer。)
受保护的方法 GetPeerFromPointCore 当在派生类中重写时,将由 GetPeerFromPoint 调用。 (继承自 AutomationPeer。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 HasKeyboardFocus 获取一个值,该值指示与此自动化同级关联的元素当前是否具有键盘焦点。 (继承自 AutomationPeer。)
受保护的方法 HasKeyboardFocusCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 当前是否具有键盘输入焦点。此方法由 HasKeyboardFocus 调用。 (继承自 UIElementAutomationPeer。)
公共方法 InvalidatePeer 如果属性发生更改,则触发对 AutomationPeer 的主要属性的重新计算,并引发对自动化客户端的 PropertyChanged 通知。 (继承自 AutomationPeer。)
公共方法 IsContentElement 获取一个值,该值指示与此自动化同级关联的元素是否包含向用户显示的数据。 (继承自 AutomationPeer。)
受保护的方法 IsContentElementCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否是包含向用户显示的数据的元素。此方法由 IsContentElement 调用。 (继承自 UIElementAutomationPeer。)
公共方法 IsControlElement 获取一个值,该值指示用户将元素理解为交互元素,还是理解为组成 GUI 中控件的逻辑结构的一部分。 (继承自 AutomationPeer。)
受保护的方法 IsControlElementCore (重写 TextBlockAutomationPeer.IsControlElementCore()。)
公共方法 IsEnabled 获取一个值,该值指示与此自动化同级关联的元素是否支持交互。 (继承自 AutomationPeer。)
受保护的方法 IsEnabledCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否可以接受键盘焦点。此方法由 IsKeyboardFocusable 调用。 (继承自 UIElementAutomationPeer。)
公共方法 IsKeyboardFocusable 获取一个值,该值指示此元素是否可以接受键盘焦点。 (继承自 AutomationPeer。)
受保护的方法 IsKeyboardFocusableCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否可以接受键盘焦点。此方法由 IsKeyboardFocusable 调用。 (继承自 UIElementAutomationPeer。)
公共方法 IsOffscreen 获取一个值,该值指示元素是否不在屏幕上。 (继承自 AutomationPeer。)
受保护的方法 IsOffscreenCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否不在屏幕上。此方法由 IsOffscreen 调用。 (继承自 UIElementAutomationPeer。)
公共方法 IsPassword 获取一个值,该值指示元素是否包含敏感内容。 (继承自 AutomationPeer。)
受保护的方法 IsPasswordCore 获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 是否包含受保护的内容。此方法由 IsPassword 调用。 (继承自 UIElementAutomationPeer。)
公共方法 IsRequiredForForm 获取一个值,该值指示是否必须在窗体中完成与此同级关联的元素。 (继承自 AutomationPeer。)
受保护的方法 IsRequiredForFormCore 获取一个值,该值指示是否需要在表当上填写与此 UIElementAutomationPeer 关联的 UIElement。此方法由 IsRequiredForForm 调用。 (继承自 UIElementAutomationPeer。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 PeerFromProvider 获取指定的 IRawElementProviderSimple 代理的 AutomationPeer。 (继承自 AutomationPeer。)
受保护的方法 ProviderFromPeer 获取指定 AutomationPeerIRawElementProviderSimple。 (继承自 AutomationPeer。)
公共方法 RaiseAsyncContentLoadedEvent AutomationPeer 调用以引发 AsyncContentLoadedEvent 事件。 (继承自 AutomationPeer。)
公共方法 RaiseAutomationEvent 引发自动化事件。 (继承自 AutomationPeer。)
公共方法 RaisePropertyChangedEvent 引发向自动化客户端通知已更改的属性值的事件。 (继承自 AutomationPeer。)
公共方法 ResetChildrenCache 通过调用 GetChildrenCore 同步重置子元素的树。 (继承自 AutomationPeer。)
公共方法 SetFocus 对与此自动化同级关联的元素设置键盘焦点。 (继承自 AutomationPeer。)
受保护的方法 SetFocusCore 对与此 UIElementAutomationPeer 关联的 UIElement 设置键盘输入焦点。此方法由 SetFocus 调用。 (继承自 UIElementAutomationPeer。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 VerifyAccess 强制调用线程具有此 DispatcherObject 的访问权限。 (继承自 DispatcherObject。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Controls.WPF 命名空间