Chars array: It’s not necessary or desirable to name every element in a WPF logical tree.
This poses a problem when binding to other elements.
Note the nesting of one markup extension within another in this example.
Run the application and try typing “Red” or #FF336688 in the text box to see the background color change: Find Ancestor: Walk the tree of parent elements looking for a specific type of element.
When you configure a binding you can influence the direction that the data flows. In a One Way binding, the target property is updated when the binding source changes.
A common binding direction is from the source to the target. Remember that change notification only happens if the data source object notifies WPF about the changes.
Along with a programmatic interface, WPF also provides a declarative databining interface.