I have a textbox in WPF and I would like to dynamically show the currency symbol, i.e. when the user edits the textbox and the textbox loses the focus, the currency symbol is automatically inserted at the end (beginning). I prefer it in XAML rather than hard-coding.
I would like to mention that my textbox is not binded to anything.
I have a textbox in WPF and I would like to dynamically show the
Share
this is the easiest approach
value is your double or decimal money
but you said it’s “not binded to anything” i can’t see how is that possible but you can do it by code if you want like so