This is a migrated thread and some comments may be shown as answers.

GridViews default row selecion highlight/color?

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deasun
Top achievements
Rank 1
Deasun asked on 12 Sep 2018, 04:45 PM

When the user selects rows on the grid, tis very hard to figure out which ones are selected or not.

Is there a way at design time I can play with the color to be used for this?

 

Thanks

Deasun

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Sep 2018, 08:00 AM
Hello, Deasun,           

At design time you can't change the style of the cells in the grid. In order to customize the grid cells, it is suitable to handle the CellFormatting event and apply the desired style for the cells. Please refer to the following help article: https://docs.telerik.com/devtools/winforms/gridview/cells/formatting-cells

Alternatively, you can customize the theme that you are using in your application via Visual Style Builder and change the color for the selected state of the cell elements

You can read more details about using the Visual Style Builder here:

1.     Loading predefined themes
2.     Working with Repository Items
3.     Saving and Loading Theme Files
4.     Loading Themes from an External File
5.     Loading Themes from a Resource
6.     Applying Theme to a Control
7.     http://tv.telerik.com/watch/winforms/visualstylebuilder/whats-new-visual-style-builder-q1-2010

I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Deasun
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or