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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Data Control how to set text foreground?

Thread ID:





89157 Aug 19,2009 08:09 AM UTC Aug 19,2009 11:43 AM UTC WPF 1
Tags: GridControl
Chao Yan
Asked On August 19, 2009 08:09 AM UTC

I want the grid to start up with default white foreground text color. How do I do that?

I tried syncfusion:GridDataControl.Foreground, grid.Model.TableStyle.Foreground, none of that works, the sample is for cell grid only not your GridDataControl.

Also how do I change background for Header row? again in GridDataControl, I tried below but has no effect:
grid.Model.HeaderStyle.Background = App.Current.FindResource("GridHeaderBackground") as Brush;


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On August 19, 2009 11:43 AM UTC

Hi Chao,

Thanks for using Syncfusion products. The Grid Data Control currently has support for built-in visual styles, and this overrides any settings that you specify.

We would be working on custom skins next week and add that support. You can create a dtrac incident to get updates on this feature. Please create it with the same title as this forum post.

Let me know if you need any other details.

Grid.WPF Team
Syncfusion Inc.,


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