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

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

c# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -