[SOLVED] I have an issue with css

Answered
0
0

hi, i want to change the appearance on only 1 of my datagridview, my goal is to change appearance on the color of the selected row only, and i tried to do it with a stylesheet and css, but without luck, below i describe how i used it, tell me if i’m wrong.

first i created a stylesheet and put in the style editor my code, with the correct sintax, in css, then i called it on my code with this code:

StyleSheet1.SetCssClass(DGV_M, “background-color”)

and that’s it, i only done as i described, but i tried even creating a css file and attaching it to the stylesheet, either no luck

  • You must to post comments
Best Answer
0
0

See attached sample.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.