.net 3.5 - WPF TextBox with IsReadOnly property set to true can still be edited -
i'm using textbox , reasons needs read only. won't argue reasons here. know can use textblock or label display non-editable content, in case, unfortunately, there textbox.
<textbox isreadonly="true" text="{binding totalamount, mode=oneway, stringformat={}{0:c2}}" textalignment="right" /> is know if there known issue it? i'm using wpf 3.5
why don't use textblock?
<textblock text="{binding totalamount, mode=oneway, stringformat={}{0:c2}}" textalignment="right"/>
Comments
Post a Comment