✅ WPF Label does not print out the first underline _
Something is wrong with the --> TestLabel1.Content = (loginid_sqlstring);
It does not print out the first underline for whatever reason
6 Replies
thats my wpf
Looks like it's an issue with
Label
. The first _
might have some special meaning.
You should use
TextBlock
to display pretty much all text.Stack Overflow
Cannot see _ (underscore) in WPF content
A very simple question:
Why I cant see _ (underscore) in WPF content?
For instance the content of
<Label Content="test_t" Name="label2" />
is shown as "testt" (with the underscore not sh...
Oh okay i see. Yeah i am new to WPF so i always used label to check my output since i dont have a console which i was used to. Thanks for you answer