This question is locked. New answers and comments are not allowed.
I am using the latest internal build and even though the following comes back with 2:
int gridRowCount = _rgvwBreakpoints.Items.ItemCount;
This only comes back with the new row:
var rows1 = _rgvwBreakpoints.ChildrenOfType<GridViewRow>();
And this comes back with the header row, the new row, and the footer row:
var rows = _rgvwBreakpoints.ChildrenOfType<GridViewRowItem>();
This always comes back with null:
GridViewRowItem gridViewRow1 = _rgvwBreakpoints.ItemContainerGenerator.ContainerFromIndex(0) as GridViewRowItem;
Even though this loops through twice, I get null values as well:
foreach (var item in _rgvwBreakpoints.Items)
{
var currentRow = this._rgvwBreakpoints.ItemContainerGenerator.ContainerFromItem(item);
}
It doesn't seem to matter what I have Virtualization (Row and Column) set to.
int gridRowCount = _rgvwBreakpoints.Items.ItemCount;
This only comes back with the new row:
var rows1 = _rgvwBreakpoints.ChildrenOfType<GridViewRow>();
And this comes back with the header row, the new row, and the footer row:
var rows = _rgvwBreakpoints.ChildrenOfType<GridViewRowItem>();
This always comes back with null:
GridViewRowItem gridViewRow1 = _rgvwBreakpoints.ItemContainerGenerator.ContainerFromIndex(0) as GridViewRowItem;
Even though this loops through twice, I get null values as well:
foreach (var item in _rgvwBreakpoints.Items)
{
var currentRow = this._rgvwBreakpoints.ItemContainerGenerator.ContainerFromItem(item);
}
It doesn't seem to matter what I have Virtualization (Row and Column) set to.