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

How Change Color Of Selected Row

I want to Change color of  Selected Row Black To HighlightBlue Of Grid Control


1 Reply

MK Muthukumar Kalyanasundaram Syncfusion Team January 20, 2015 05:24 PM UTC

Hi Ankit,

 

Thank you for your interest in Syncfusion products.

 

If you want to change color of  selected row in a grid, you can use “AlphaBlendSelectionColor” property. Please refer the below code,

 

Code:

this.gridControl1.ListBoxSelectionMode = SelectionMode.One;

this.gridControl1.AllowSelection = GridSelectionFlags.AlphaBlend | GridSelectionFlags.Row;

this.gridControl1.Model.Options.AlphaBlendSelectionColor = Color.Red;

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K


Attachment: GC_SelectionColor_1167f3c5.zip

Loader.
Up arrow icon