How can I Fill part of background color in Textbox C# Winforms.
Like this (this example create in Photoshop):
Can anyone help me…
How can I Fill part of background color in Textbox C# Winforms.
Like this (this example create in Photoshop):
Can anyone help me…
5
Answers
You should handle the Paint event, then perform your custom drawing in the event handler.
Crate a custom control, use group box with border, set its background, place a text box in it, set its border to none. You can create same as you wish.
You can increase and set color left border width in
but be carefull that
You could also use panels. Paint the background of the panels the color of your liking. Place them on top of each other. Or you could use a picture as background.
In the Properties of the textbox you can change the backcolor under the following setting. http://prntscr.com/3hjyhl