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?

Was it helpful?

Solution

You should use User_Name.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top