Chapter 2, “Child Elements and Keywords,” listed three types of children for an object element: a value for a content property, collection items, and a value that can be type-converted to the object element. It’s now time to look at the third type of child.
Plain text can often be used as the child of an object element, as in the following XAML declaration of
This is equivalent to the following:
This seems normal, until you realize that
Color has not been designated as
SolidColorBrush’s content property. It has no content property. In this case, the first ...