Using Caliburn.Micro to bind to sub-properties
-
11-10-2019 - |
Question
I'm using Caliburn.Micro and I would like to be able to do something like the following...
<TextBlock x:Name="User.Name"></TextBlock>
However this won't compile because xaml doesn't allow names to contain a "."
What is the preferred solution here? Do I just revert to standard databinding syntax?
Solution
You should use User_Name.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow