Can not change selected row color ... now is black?

I set the control like this:

GridGroup.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Office2010Blue;
GridGroup.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.None;
GridGroup.TableOptions.ListBoxSelectionMode = SelectionMode.One;
GridGroup.TableOptions.SelectionBackColor = Color.Blue;

But te selected row color is still black ... what am i doing wrong?
Tried a lot of settings but selectionbackcolor should be the way to go.



3 Replies

AR Arulpriya Ramalingam Syncfusion Team November 23, 2017 12:06 PM UTC

Hi Davy,   
   
Thanks for your interest in Syncfusion products.   
   
We have created a simple sample as per your requirement and the SelectionBackColor is working fine at our end. The reported scenario will be occurred when use the ListBoxSelectionMode with AllowSelection property as Row. So, we suspect that, you might have enabled the AllowSelection as Row in your project. So, If AllowSelection property is set as Row in any other places in your project, please remove that code or set as none to resolve this scenario.   
   
Please refer to the below UG to know the difference between AllowSelection and ListBoxSelectionMode and make use of the attached sample,   
   
   
   
Note   
If still the issue occurs, refer to the attached sample and let us know if missed anything from your customization.   
   
Regards,   
Arulpriya  



DA Davy December 22, 2017 10:26 AM UTC

Fixed with your explenation!
Thanks for the great support.


AR Arulpriya Ramalingam Syncfusion Team December 26, 2017 04:13 AM UTC

Hi Davy, 
 
Thanks for your update.    
 
We are glad to hear that the provided information was resolved your scenario.   
 
Please let us know if you have any other queries.    
   
Regards, 
Arulpriya 


Loader.
Up arrow icon