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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the color of the full row selection

Thread ID:





14825 Jun 5,2004 12:53 PM UTC Jun 7,2004 02:00 PM UTC WinForms 2
Tags: Grouping
Günter Schwaiger
Asked On June 5, 2004 12:53 PM UTC

In my GridGroupingControl I set full row select: grid.TableDescriptor.TableOptions.ListBoxSelectionMode = SelectionMode.One; The selected full row is painted in black. Now I want to change the color to a blue. How can I do this? Thanks.

Administrator [Syncfusion]
Replied On June 7, 2004 01:00 PM UTC

You need to make sure AlphaBlend and Row are turned on in the AllowSelection flags. gridGroupingControl1.TableOptions.AllowSelection |= GridSelectionFlags.AlphaBlend | GridSelectionFlags.Row;

Günter Schwaiger
Replied On June 7, 2004 02:00 PM UTC

Very cool, now it looks much better. Is it possible to set the selection color to a customer defined color?


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

Live Chat Icon For mobile
Live Chat Icon