We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to use conditional formatting in TableSummaryCell?

SfDataGrid allows you to apply different styles for the top and bottom table summaries by using the SfDataGrid.TableSummaryCellStyle property. You can apply some conditional based styling for each summary columns using converter like below code example.

C#

 

XAML

 

Universal Windows will not support IValueConverter in styling, but you can achieve the above requirement using StyleSelector like the below code example.

 

C#

 

XAML

 

 

The following screenshot displaying the TableSummaryCell Style.

Sample Links

WPF

UWP

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6675 04/15/2016 12/27/2016 UWP SfDataGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.