Using Caliburn.Micro to Bind to Sub-Properties

I am using Caliburn.Micro and I would like to do something like the following ...

<TextBlock x:Name="User.Name"></TextBlock>

However, this will not compile because xaml does not allow names to contain "."

What is the preferred solution here? Am I just going back to the standard data binding syntax?

+3
source share
1 answer

You must use User_Name.

+8
source

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


All Articles