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

How Change Color Of Selected Row

Thread ID:

Created:

Updated:

Platform:

Replies:

117994 Jan 19,2015 09:34 AM UTC Jan 20,2015 05:24 PM UTC WinForms 1
loading
Tags: GridControl
Ankit
Asked On January 19, 2015 09:34 AM UTC

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


Muthukumar Kalyanasundaram [Syncfusion]
Replied On 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

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

;