Sign in
Tales from the Smart Client
John Gossman's observations on Avalon development
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
January 2009
(1)
November 2008
(1)
October 2008
(1)
August 2008
(2)
July 2008
(2)
June 2008
(1)
May 2008
(8)
February 2008
(2)
May 2007
(1)
November 2006
(1)
October 2006
(1)
September 2006
(1)
August 2006
(1)
April 2006
(2)
March 2006
(5)
February 2006
(6)
January 2006
(2)
October 2005
(16)
September 2005
(7)
August 2005
(4)
July 2005
(3)
June 2005
(2)
May 2005
(11)
April 2005
(8)
March 2005
(11)
February 2005
(4)
January 2005
(20)
October 2004
(12)
September 2004
(7)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Tales from the Smart Client
New blogger
Posted
over 8 years ago
by
JohnGossman
0
Comments
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...
Tales from the Smart Client
Counting all the Visuals in an Avalon tree
Posted
over 8 years ago
by
JohnGossman
1
Comments
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...
Tales from the Smart Client
Avalon Performance: What is your Visual count?
Posted
over 8 years ago
by
JohnGossman
1
Comments
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...
Tales from the Smart Client
Walking the Visual Tree in Avalon
Posted
over 8 years ago
by
JohnGossman
1
Comments
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...
Page 1 of 1 (4 items)