Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WpfTable::FindFirstCellWithValue Method (String^)

 

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)

public:
WpfCell^ FindFirstCellWithValue(
	String^ value
)

Parameters

value
Type: System::String^

The value to find for.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.WpfControls::WpfCell^

The first cell with the value.

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

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

Return to top
Show: