WpfRow.GetCell Method
Gets the cell based on the cell index.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function GetCell ( _
cellIndex As Integer _
) As WpfCell
public WpfCell GetCell(
int cellIndex
)
public:
WpfCell^ GetCell(
int cellIndex
)
member GetCell :
cellIndex:int -> WpfCell
public function GetCell(
cellIndex : int
) : WpfCell
Parameters
cellIndex
Type: Int32The 0-based index in the row of the cell.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfCell
The cell object.
Remarks
Example: Get cell at 2. Note that index is 0 based.
WpfCell cell = myRow.GetCell(2);
.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