Hi,
I want to change the default DisplayName of XamCalculationManager aggregates.
For example
Maximum as Max, Minimum as Min
It should be reflected also in the Text displayed in SummaryDisplayArea. How can i achieve this ?
Thanks
Kumaran Vellaisamy
Hello Kumaran,
Thank you for your post. I have been looking through it and I suggest you use the ResourceStrings of the XamDataGrid. You can add the following code after the InitializeComponent method is called:
Infragistics.Windows.DataPresenter.Resources.Customizer.SetCustomizedString("SummaryCalculator_Maximum_Name", "Max"); Infragistics.Windows.DataPresenter.Resources.Customizer.SetCustomizedString("SummaryCalculator_Minimum_Name", "Min");
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hi Stefan,
I have done the same in another way. I have modified the style of SummaryResultPresenter. In that i have added a converter for Text property of TextBlock which displays the Result. It works fine.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.