Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

New Post: selected color

$
0
0
Hi there,

Is there a control-specific way to change the selected fore color and back color? Something I'm overlooking perhaps?

For example, all of my custom controls I've written for my app have SelectedForeColor and SelectedBackColor properties so that the app will use these colors for selected text instead of the system-defined colors. If these properties are set to Color.Empty, then my controls use the system defined colors. Otherwise they use the colors defined by the control.

If there isn't a way to do this today in HtmlRenderer controls, then I can will gladly add the SelectedForeColor and SelectedBackColor properties to the controls for the future and alter the rendering code to use them. I just wanted to make sure you were OK with adding this to the controls going forward so that I won't have to keep merging the changes.

Or if you already have this capability, please point it out to me. Perhaps I can control it with CSS for example?

Thanks,
Ryan

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>