Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
Following are some of my observations got from the book:
Logic Tree
The logical tree concept is straightforward, but why should you care about it? Because just about every aspect of WPF (properties, events, resources, and soon) has behavior tied to the logical tree. For example, property values are sometimes propagated down the tree to child elements automatically, and raised events can travel up or down the tree. Both of these behaviors are discussed later in this chapter.
Visual TreeA similar concept to the logical tree is the visual tree. A visual tree is basically an expansion of a logical tree, in which nodes are broken down into their core visual components. Rather than leaving each element as a “black box,” a visual tree exposes the visual implementation details. For example, although a ListBox is logically a single control, its default visual representation is composed of more primitive WPF elements: a Border, two ScrollBars, and more.
Dependency Properties
A dependency property depends on multiple providers for determining its value at anypoint in time. These providers could be an animation continuously changing its value, aparent element whose property value trickles down to its children, and so on. Arguablythe biggest feature of a dependency property is its built-in ability to provide change notification.
Change Notification (Property Trigger)
Property Value Inheritance
Multiple Providers
Attached Properties
Routed Events (routing Strategies:tunneling, bubbling, Direct)
Attached Events
Commands: a more abstract and loosely-coupled version of events.
Remember Me