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.

Grid Data Control how to set text foreground?

Thread ID:

Created:

Updated:

Platform:

Replies:

89157 Aug 19,2009 04:09 AM Aug 19,2009 07:43 AM WPF 1
loading
Tags: GridControl
Chao Yan
Asked On August 19, 2009 04:09 AM

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,

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

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.,

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.

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.

;