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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Customizing SfDataGrid colors in WPF

Thread ID:

Created:

Updated:

Platform:

Replies:

145064 Jun 4,2019 07:51 PM UTC Jun 5,2019 09:28 AM UTC WPF 1
loading
Tags: SfDataGrid
Tech Shop
Asked On June 4, 2019 07:51 PM UTC

Hello

I need to customize the colors of SfDataGrid. I know that if you use the code snippet below it follows a predefined Syncfusion pattern. Is there in the documentation any examples of how to do this, and what are the keys that should change the color values?

<syncfusion:SfDataGrid.Resources>    
     <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
               <ResourceDictionarySource="/Syncfusion.SfGrid.WPF;component/Styles/Styles.xaml" />
          </ResourceDictionary.MergedDictionaries>
     </ResourceDictionary>
</syncfusion:SfDataGrid.Resources>

Adhikesevan Kothandaraman [Syncfusion]
Replied On June 5, 2019 09:28 AM UTC

Hi Tech, 

Thanks for using Syncfusion products. 

The appearance of SfDataGrid and its inner elements (example: Cell, Row, Header, Summary etc.) can be customized using various properties exposed and by editing the elements’ Style. Refer to the following UG link for more details,  

 
Regards, 
Adhi 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon