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
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
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)
Avalon Performance: What is your Visual count?
MSDN Blogs
>
Tales from the Smart Client
>
Avalon Performance: What is your Visual count?
Avalon Performance: What is your Visual count?
Rate This
JohnGossman
4 Aug 2005 9:28 PM
Comments
1
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 you can get into perf trouble. Your XAML may be short and only show a couple of Grids and a ListBox, but the Visual count is through the roof. That's what the TreeStatistics class in the last post is for. Point it at the root of your tree and see how many Visuals you really have...that may explain why layout and rendering is taking so long...
1 Comments
Blog - Comment List MSDN TechNet
Comments
Loading...