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

Change backgroundcolor of selected cell

Thread ID:





100533 Aug 15,2011 08:53 AM UTC Aug 18,2011 12:04 PM UTC WinForms 1
Tags: GridControl
Lukas Reusch
Asked On August 15, 2011 08:53 AM UTC


How can I change the background color of a selected cell? At the moment some unselected cells have a red background. If I select them, they get a blue background.

Thank you!

Asarudheen S [Syncfusion]
Replied On August 18, 2011 12:04 PM UTC

Hi Peter,

Thank you for your interest in Syncfusion products.

You can change the background color of a selected cell by using following code.

this.grid.TableModel.Options.AlphaBlendSelectionColor = Color.Red;

this.grid.TableModel.Options.AlphaBlendSelectionColor = Color.Red;

this.grid.TableOptions.ListBoxSelectionColorOptions = Syncfusion.Windows.Forms.Grid.Grouping.GridListBoxSelectionColorOptions.DrawAlphablend;

Please let me know if you need any further assistance.



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