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. Image for the cookie policy date

Customizing SfDataGrid colors in WPF

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>

1 Reply

AK Adhikesevan Kothandaraman Syncfusion Team June 5, 2019 01:28 AM

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 
 


Loader.
Live Chat Icon For mobile
Up arrow icon