Context: Visual Studio 2012, C# 4.0
I want to allow developers to write some code in XAML files. However, I should be able to restrict the schema (not sure if this is correct word) that they use so that for each attribute, values automatically pop up in Intellisense
This can be solved as follows:
Have a class as below:
Then, in the xaml file: