WpfTable.FindFirstCellWithValue Method

Finds the first cell with the given value.

This call might take significant time because cell is searched under each row.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Function FindFirstCellWithValue ( _
    value As String _
) As WpfCell
public WpfCell FindFirstCellWithValue(
    string value
)
public:
WpfCell^ FindFirstCellWithValue(
    String^ value
)
member FindFirstCellWithValue : 
        value:string -> WpfCell
public function FindFirstCellWithValue(
    value : String
) : WpfCell

Parameters

  • value
    Type: String

    The value to find for.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfCell
The first cell with the value.

Remarks

Example - Find first cell with value 'Coded UI Test'.

WpfCell cell = myTable.FindFirstCellWithValue("Coded UI Test");

.NET Framework Security

See Also

Reference

WpfTable Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace