This works...">

WPF Label Design Time Texts

I play with WPF and bind the contents of the Label control content:

<Label Content="{Binding Name}" /> 

This works, but I would like to get the text there during development so that I can see the shortcut. Does anyone know how to do this, it seems to be easy.

thanks

t

+6
source share
1 answer

Try the following:

 <Label Content="{Binding Name, FallbackValue='Text'}" /> 
+13
source

Source: https://habr.com/ru/post/899963/


All Articles