ApplySelectionColor

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?

1 Reply

LS Lingaraj S Syncfusion Team February 11, 2010 11:27 AM UTC

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.

Loader.
Up arrow icon