c# - TextBox doesn't have BorderStyle Property -


i'm trying create textbox selectable looks label. other people have talked setting borderstyle none in order hide textbox , feel. why can't access borderstyle xaml? i'm using mvvm design pattern.

enter image description here

borderstyle exists in winforms while wpf uses borderthickness , borderbrush

the simplest way this:

<textbox borderthickness="0" background="transparent" /> 

for more customization, override controltemplate, example described in post: wpf textbox flat border style

by way: confusing user, if control looks totally different way looks in applications.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -