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.

ApplySelectionColor

Thread ID:

Created:

Updated:

Platform:

Replies:

92900 Feb 11,2010 06:18 AM Feb 11,2010 06:27 AM Windows Forms 1
loading
Tags: GridControl
Roland Westphal
Asked On February 11, 2010 06:18 AM

Hi there,

although i set

ListBoxSelectionColorOptions = ApplySelectionColor
ListBoxSelectionMode = One
SelectionBackColor = something other than black

in Designer i always get a black background for the selected row.

What am i doing wrong?

Lingaraj S [Syncfusion]
Replied On February 11, 2010 06:27 AM

Hi Roland,

Thank you for your interest in Syncfusion products.

If you used ListBoxSelection in GridGroupingControl, then please try to set the AllowSelection property with None to avoid this misbehavior as shown below.

this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
this.gridGroupingControl1.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One;
this.gridGroupingControl1.TableOptions.SelectionBackColor = Color.Red;


Please let me know if you have any queries.

Regards,
Lingaraj S.

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.

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.

;