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

Grid Data Control how to set text foreground?

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;

thanks,

1 Reply

MS Mohamed Suhaib Fahad A. Syncfusion Team 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.

Thanks,
Fahad
Grid.WPF Team
Syncfusion Inc.,

Loader.
Live Chat Icon For mobile
Up arrow icon