#10 – Control Templates
Similar to styles in WPF, but different, are templates. Templates allow you to replace all aspects of a UI control’s appearance without changing its behavior. Every control in WPF has a default...
View Article#176 – Two Kinds of Templates
In WPF, there are two different kinds of templates—control templates and data templates. Control templates allow you to exactly specify the visual tree of a control, i.e. its constituent controls. The...
View Article#724 – Sample Code for Examining Control Templates
Charles Petzold, in his book Applications = Code + Markup, includes lots of useful sample code. In chapter 25, talking about templates, he presents source code for a DumpControlTemplate project. You...
View Article
More Pages to Explore .....