Wednesday, March 12, 2008

Complex Properties:Property-element syntax

With property-element syntax, we can add a child element with a name in the form Parent. PropertyName. For example, the Grid has a Background property that allows you to supply a brush that's used to paint the area behind the controls. If you want to use a complex brush-one more advanced than a solid color fill-you'll need to add a child tag named Grid.Background, as shown here:

No comments: