Row.IsSelected is false

Nov 23, 2012 at 8:00 AM

Hi,

I've a problem with IsSelected property of data grid row (the DataGrid virtualization is enabled). Unless the row is selected the value of row.IsSelected is always false. Here is my code:

ListViewControl manageCurrenciesDataGrid = MainScreenHelper.GetListViewControlAndAssert(app, "CurrenciesDataGrid");

ListViewRow currencyRow = manageCurrenciesDataGrid.Row("Name", nameTextBox.Text);

Assert.IsTrue(currencyRow.IsSelected, "Failed to select the updated currency row.");

Thanks