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.
Syncfusion Feedback

changing row and row/column colors

Thread ID:

Created:

Updated:

Platform:

Replies:

15988 Jul 1,2004 07:37 PM UTC Jul 1,2004 08:31 PM UTC Windows Forms 1
loading
Tags: GridControl
Clario Menezes
Asked On July 1, 2004 07:37 PM UTC

I''ve looked at the example code in this KB article (link at end) but could not replicate it in my project. Specifically, the KB article uses: this.gridGroupingControl1.BaseStylesMap["GroupIndent"].StyleInfo.BackColor = Color.LightGoldenrodYellow; I found that I only had a BaseStyles collection accessible from my GroupingControl object (as opposed to a BaseStylesMap in the example). That aside, my BaseStyles collection was empty, and I don''t know how to populate it such that I can change the presentation of the parts of the grid given in the KB article. Any suggestions? Thanks in advance. http://www.syncfusion.com/Support/article.aspx?id=10345

Administrator [Syncfusion]
Replied On July 1, 2004 08:31 PM UTC

Oops. That is a dated KB with code for an early beta version of this control. We will get this corrected. You use the TableDescriptor.Appearance object to set such properties. For example, to set record''s BackColor. this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.BackColor = Color.LightSkyBlue; This is discussed in the GridGroupingControl Designer Tutorial in the grid''s User''s Guide.

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.

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

;