Hi Team,
i am quite new to Infragistics and would like your help to achieve the below mentioned behaviour.
We have various screens on which we have the option to change the font of XamDataGrid based on user preference .
For that what we do is we bind our Fontsize property to XamdataGrid FontSize property like below :
<XamDatagrid FontSize = "{Binding Fontsize}">
Now problem is Suppose on a screen when the font size is changed by user from 8 to 32 ( this is max font size), font of all the columns in XamDataGrid are changed according to the value selected by user but as the font increases width of the columns remain same so the value in the columns are truncated.
i want to know some way by which i can fix this truncation , so when XamDataGrid column font changes , may be something like column width changes accordingly so this truncation doesn't happen or any other way out?
How can i resolve this truncation issue as the font size changes considering it is on multiple screens and assuming each screen has around 30-40 columns.
Thanks in Advance.
Random rand = new Random(); (this.DataContext as ViewModel).FontSize = rand.Next(8, 32); foreach (Field field in this.xdg.FieldLayouts[0].Fields) { field.PerformAutoSize(); }