BackColor not shown in designer for Panel

0
0

Hi all at Wisej,

I have a Panel with BackColor set to red. In runtime, it is red. In designer, it has red border. What am I missing?

Thank you,

Pavel Weiss

  • You must to post comments
0
0

Hi Pavel,

Unfortunately, we weren’t able to reproduce the issue.

Still, if in the theme is defined colours, how to change individual panels colors then? It seems the theme colors are more significant than the properties of individual objects… Is that correct?

You’ll just have to change the BackColor property, the theme colors are of good use when you have an application that offers more than one theme. It would be easier for you to include different colors in the themes.

For example, let’s say you have a Dark and Light theme, the “@control” color can be “White” and “LightGray” respectively, that way the appearance changes “on the fly”.

If you want it to have a “fixed” color, then just use a Web Color , System Color or a select a color from a Color Picker.

HTH,
Alaa

  • You must to post comments
0
0

Attached is example project. Still, if in the theme is defined colours, how to change individual panels colors then? It seems the theme colors are more significant than the properties of individual objects… Is that correct?

Thanks

Pavel

 

  • You must to post comments
0
0

Hi Pavel,

I just tested setting the BackColor on all of the Panel types and I wasn’t able to reproduce.
Perhaps you can send over a small sample ?

Also, if you’re using a custom theme, please make sure to include it as well!

Thank you,
Alaa

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.