WpfTable Class
Represents a button control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfTable
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfTable _
Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfTable : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfTable : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfTable =
class
inherit WpfControl
end
public class WpfTable extends WpfControl
The WpfTable type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WpfTable() | Initializes a new instance of the WpfTable class. | |
WpfTable(UITestControl) | Initializes a new instance of the WpfTable class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | (Inherited from WpfControl.) | |
AccessKey | (Inherited from WpfControl.) | |
AutomationId | (Inherited from WpfControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
CanSelectMultiple | Gets a value that indicates whether this table can have multiple selections. | |
Cells | Gets a collection of cells in this table. | |
ClassName | (Inherited from UITestControl.) | |
ColumnCount | Gets the number of columns in this table. | |
ColumnHeaders | Gets a collection of column headers in this table. | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | (Inherited from WpfControl.) | |
FrameworkId | (Inherited from WpfControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | (Inherited from WpfControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
ItemStatus | (Inherited from WpfControl.) | |
LabeledBy | (Inherited from WpfControl.) | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
RowCount | Gets the number of rows in this table. | |
RowHeaders | Gets a collection of row headers in this table. | |
Rows | Gets a collection of rows in this table. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WpfControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Name | Description | |
---|---|---|
CaptureImage | (Inherited from UITestControl.) | |
CopyFrom | (Inherited from UITestControl.) | |
DrawHighlight | (Inherited from UITestControl.) | |
EnsureClickable() | (Inherited from UITestControl.) | |
EnsureClickable(Point) | (Inherited from UITestControl.) | |
Equals | (Inherited from UITestControl.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find | (Inherited from UITestControl.) | |
FindFirstCellWithValue | Finds the first cell with the given value. This call might take significant time because cell is searched under each row. | |
FindMatchingControls | (Inherited from UITestControl.) | |
GetCell | Gets the cell based on the row and column indices. | |
GetChildren | (Inherited from UITestControl.) | |
GetClickablePoint | (Inherited from UITestControl.) | |
GetColumnNames | Gets the names of all the columns of the table. | |
GetContent | Gets the content of the table that is values of all the cells. | |
GetHashCode | (Inherited from UITestControl.) | |
GetParent | (Inherited from UITestControl.) | |
GetProperty | (Inherited from UITestControl.) | |
GetRow | Gets the row based on the row index. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUITestControlsForSearch | (Inherited from WpfControl.) | |
GetValidSearchProperties | (Inherited from WpfControl.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetFocus | (Inherited from UITestControl.) | |
SetProperty | (Inherited from UITestControl.) | |
ToString | (Inherited from UITestControl.) | |
TryFind | (Inherited from UITestControl.) | |
TryGetClickablePoint(Point%) | (Inherited from UITestControl.) | |
WaitForControlCondition(Predicate<UITestControl>) | (Inherited from UITestControl.) | |
WaitForControlCondition(Predicate<UITestControl>, Int32) | (Inherited from UITestControl.) | |
WaitForControlEnabled() | (Inherited from UITestControl.) | |
WaitForControlEnabled(Int32) | (Inherited from UITestControl.) | |
WaitForControlExist() | (Inherited from UITestControl.) | |
WaitForControlExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlNotExist() | (Inherited from UITestControl.) | |
WaitForControlNotExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlReady() | (Inherited from UITestControl.) | |
WaitForControlReady(Int32) | (Inherited from UITestControl.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace