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

Change backgroundcolor of selected cell

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello

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.

Regards,
Asarudheen.


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

;