John Gossman's observations on Avalon development
August 2005 - Posts
-
My colleague and friend ChuckJ has started blogging. Chuck has been key in defining the latest XAML spec and is on to new and exciting stuff to be revealed soon: http://www.removingalldoubt.com/ In a former life you may know Chuck as architect of Borland Read More...
|
-
Here's an example of using the VisualTreeWalker from the last post: public class TreeStatistics { private int visualCount; private int greatestVisualDepth; private int depthTotal; private FrameworkElement root; public TreeStatistics(FrameworkElement root) Read More...
|
-
The Avalon compositional UI model encourages you to create Styles and Templates (VisualTree in the May CTP build) that automatically generate visuals. Build a complex Visual Tree and create a bunch of these automatically with data bound ListBoxes, and Read More...
|
-
Sometimes you just need to walk the tree of Visuals in Avalon. It's easy to do, but it is even easier if you have a nice Visitor-pattern implementing tree walker. So: using System; using System.Collections; using System.Diagnostics; using System.Windows; Read More...
|