Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the cell based on the row and column indices.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function GetCell ( _
rowIndex As Integer, _
columnIndex As Integer _
) As WpfCell
public WpfCell GetCell(
int rowIndex,
int columnIndex
)
public:
WpfCell^ GetCell(
int rowIndex,
int columnIndex
)
member GetCell :
rowIndex:int *
columnIndex:int -> WpfCell
public function GetCell(
rowIndex : int,
columnIndex : int
) : WpfCell
Parameters
rowIndex
Type: Int32The 0-based row index of the cell.
columnIndex
Type: Int32The 0-based column index of the cell.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfCell
The cell object.
Remarks
Example - Get cell at 2, 5. Note index is 0 based.
WpfCell cell = myTable.GetCell(2, 5);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace