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

Text Color on GGC Selected Row

Thread ID:

Created:

Updated:

Platform:

Replies:

40832 Feb 14,2006 04:33 PM UTC Feb 14,2006 07:57 PM UTC WinForms 1
loading
Tags: GridControl
Babak Keradman
Asked On February 14, 2006 04:33 PM UTC

I have two columns that are of cell type "pushbutton". When a row is selected, the font color of all the text in that row changes to white. I know how to change selected text color for the entire row, but how do I keep the text color on those two cells black, and let the others change to the standard selected text color?

Babak Keradman
Replied On February 14, 2006 07:57 PM UTC

nevermind I figured it out. I handled the DrawCell event. private void grid_TableControlDrawCell(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlDrawCellEventArgs e) { if(e.Inner.Style.CellType.Equals("PushButton")) { e.Inner.Style.ResetTextColor(); } }

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

;