I'm trying to add the total number of row in the grid but i want to display it under the row number (see pic).
I've use the code below:
// Set the binding on the footer containing the number of row
var indicatorPresenter = this.FooterRow.ChildrenOfType<IndicatorPresenter>().First();
var grid = indicatorPresenter.ChildrenOfType<Grid>().First();
var tb = new TextBlock
if (grid.Children.Count == 1)
grid.Children = tb;
It works fine except that if number is important (more that 999), the content of the TextBlock is not displayed correctly (some number are truncated).
Any ideas on how to solve that ?