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.
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
Post a Comment