Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1425
Change style of text Group header
posted

Hi,

One of the field in my datagrid is number (lets call it Severity, having numbers to represent a severity level). I am ControlTemplating CellValuePresenter of this field to display a color and text instead of number in cells of that field.

When this field is grouped. That number is displayed in the header of group. What should I do to template the header of that group to display color and text instead of that number.

 

Your help will be much appreciated.

Thanks,

Imad.

 

Parents
  • 138253
    Offline posted

    Hello Imad,

     

    Thank you for your post. I have been looking into it and I suggest you copy the default Style for the GroupByRecordPresenter from C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles\DataPresenter\DataPresenterGeneric_Express.xaml file and retemplate it so it has an element that will be used to show your color. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

Reply Children