WPF Interview Questions and Answers
Question - 111 : - How can you set a property attribute as a literal string and not a mark up extension?
Answer - 111 : -
To avoid mark up extension you have to use an empty pair of curly braces like
Content = “{} {This is not a markup extension}”/>
Question - 112 : - What are the types of children does object element can have in XAML?
Answer - 112 : -
Three types of children an object element can have
- Collection Items
- A value for the content property
- The value that can be type-converted to the object element