c# - Is there a way to paint a colored border around a Textbox? -


i want create colored border around textbox on windows form, can done in android (with "id" , "packsize" edittext widgets):

enter image description here

is possible (without writing gazillion loc , sacrificing chicken)?

there borderstyle property, not change color of border. forecolor , backcolor properties nothing helpful.

you either:

  1. put textbox in larger panel dark backcolor or
  2. handle paint event , draw border yourself.

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -