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.

How to change the color of the full row selection

Thread ID:





14825 Jun 5,2004 08:53 AM Jun 7,2004 10:00 AM Windows Forms 2
Tags: Grouping
Günter Schwaiger
Asked On June 5, 2004 08:53 AM

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 09:00 AM

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 10:00 AM

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.

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.