Custom Color Themes

D

Dan Tallent

I would like to write my Windows Form app so I can set the colors of the
different controls based on a color scheme. The end goal would be to be
able to go into the properties window of a textbox and set the background
color to a "custom" named color. This color would appear in the IDE during
design time.

I could then change the definition of the "custom" named color and the
application would adjust accordingly. The custom name could be
"DansColors.TextBoxColor" which is just some random color I pick. If I
change the definition of DansColors.TextBoxColor then the entire app would
reflect the change as well.

Is this possible or what is the closest mechanism I can use to get to this
result?

Thanks
Dan Tallent
 
D

Dan Tallent

I'm not expecting the end user to set colors. What I am attempting to do is
make it easier to change the colors of the applications without having to
revisit each control.
The current method for changing the background color of a textbox is simply
to change the BackColor property in the IDE during design time. All I
really want to do is create a named color
where I can set the name and the value of the color itself. Then within
the IDE use this newly created named color.

Is this possible ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top