表示用于测试 Windows Presentation Foundation (WPF) 应用程序用户界面 (UI) 的表行控件。
继承层次结构
System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
      Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfRow
命名空间:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Class WpfRow _
    Inherits WpfControl
public class WpfRow : WpfControl
public ref class WpfRow : public WpfControl
type WpfRow =  
    class
        inherit WpfControl
    end
public class WpfRow extends WpfControl
WpfRow 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | WpfRow() | 初始化 WpfRow 类的新实例。 | 
| .gif) | WpfRow(UITestControl) | 使用所提供的父控件初始化 WpfRow 类的新实例。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | AcceleratorKey | 获取分配给此控件的键盘快捷键。 (继承自 WpfControl。) | 
| .gif) | AccessKey | 获取分配给此控件的键盘快捷键。 (继承自 WpfControl。) | 
| .gif) | AutomationId | 获取分配给此控件的自动化 ID。 (继承自 WpfControl。) | 
| .gif) | BoundingRectangle | 获取此控件的边框。 (继承自 UITestControl。) | 
| .gif) | CanSelectMultiple | 获取一个值,该值指示该行是否可选择多个单元格。 | 
| .gif) | Cells | 获取此表行中单元格的集合。 | 
| .gif) | ClassName | 获取此控件的类名。 (继承自 UITestControl。) | 
| .gif) | Container | 获取或设置此 UITestControl 的容器。 (继承自 UITestControl。) | 
| .gif) | ControlType | 获取 UI 控件的类型。 (继承自 UITestControl。) | 
| .gif) | Enabled | 获取一个值,该值指示是否启用此控件。 (继承自 UITestControl。) | 
| .gif) | Exists | 获取一个值,该值指示此控件是否存在于用户界面中。 (继承自 UITestControl。) | 
| .gif) | FilterProperties | 获取用于消除控件歧义的属性-值对集合。 (继承自 UITestControl。) | 
| .gif) | Font | 获取此控件的文本部分的字体名称。 (继承自 WpfControl。) | 
| .gif) | FriendlyName | 获取该控件在用户接口中的名称。 (继承自 UITestControl。) | 
| .gif) | HasFocus | 获取指示此控件当前是否在用户界面中有焦点的值。 (继承自 UITestControl。) | 
| .gif) | Header | 获取此表行的标题。 | 
| .gif) | HelpText | 获取分配给此控件的帮助文本。 (继承自 WpfControl。) | 
| .gif) | IsTopParent | 获取指示此控件是否是顶级元素的值。 (继承自 UITestControl。) | 
| .gif) | LabeledBy | 获取此控件的标签文本。 (继承自 WpfControl。) | 
| .gif) | Name | 获取此控件的名称。 (继承自 UITestControl。) | 
| .gif) | NativeElement | 获取与此控件对应的本机技术元素。 (继承自 UITestControl。) | 
| .gif) | RowIndex | 获取表中此行的索引。 | 
| .gif) | SearchConfigurations | 获取或设置搜索配置。 (继承自 UITestControl。) | 
| .gif) | SearchProperties | 获取用于标识控件的属性-值对集合。 (继承自 UITestControl。) | 
| .gif) | SearchPropertiesSetExplicitly | 获取指示控件的查找属性是否在用户接口中被用户设定的值。 (继承自 UITestControl。) | 
| .gif) | Selected | 获取一个值,该值指示是否可选择此行。 | 
| .gif) | TechnologyName | 获取或设置实现此控件的技术框架。 (继承自 UITestControl。) | 
| .gif) | TopParent | 获取此控件的顶级父级。 (继承自 UITestControl。) | 
| .gif) | WindowHandle | 获取此控件的窗口句柄。 (继承自 UITestControl。) | 
| .gif) | WindowTitles | 获取顶层窗口的窗口标题的集合。 (继承自 UITestControl。) | 
页首
方法
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
.gif)