In my application, I allow customization of the font sizes used in the application. When the font size changes, I adjust several resources that are referenced as DynamicResource in the XAML to accomadate the different font size. The font size adjustments through dynamic resources work great in the SfDataGrid. I'm having trouble with the row height.
In my master-details SfDataGrid, on both the outer grid and the inner grid, I have set:
RowHeight = "{DynamicResource GridRowHeight}"
HeaderRowHeight = "{DynamicResource GridHeaderHeight}"
with those values set as double values in my resource dictionary.
The outer grid row heights respond nicely when the resources are modified at runtime. The inner grid row heights do not respond at all until the application is restarted. Also, the QueryRowHeight event does not seem to be called. Is there some way I can dynamically adjust the row height of the details grid at runtime? Preferably for all grids in my application?
Thanks,
John
Attachment:
RowHeightProblem_927a25d3.png