In search of a better name...
February 2006 - Posts
-
I've just started trying out GhostDoc . You can select a method and it will fill out the XML document comments for the function. For example, here's what it generated for the CanHorizontallyScroll method from my VirtualizingTilePanel: /// <summary> Read More...
|
-
The Avalon team at the Advanced Technology Center in Beijing has just started a blog . They are creating some of the most advanced controls, including ListView (not to be confused with ListBox!). Read More...
|
-
Ok, it took me a lot longer to get to this, but I finally have a post about a better way to do layout to layout animations. In part 1 , I introduced a simple tile panel and then in part 2 , I made modifications so that it animates the children as they Read More...
|
-
Another Max teammate, Jeff Simon is blogging! He's started off with a series on adding drag/drop support to the animated tile panel sample I posted a couple of months ago. Great stuff! Read More...
|
-
In this post, Tess describes how using repeatedly calling: XmlSerializer serializer = new XmlSerializer(typeof(PurchaseOrder), new XmlRootAttribute("")); leaks a temporary assembly on each call. Ouch! Some of the other constructors cache the assemblies, Read More...
|
-
Ok, we finally get to a full implementation with this post. I’ll be showing the implementation of a VirtualizingTilePanel. This is a layout is very similar to the one I used for the layout animation sample . For the sample, I’ve created a small test harness Read More...
|
-
Now that we understand how IItemContainerGenerator works, I’m going to walk through some of the details of how your virtualizing panel’s MeasureOverride should work. I think the easiest way to see how it all works is to just look at some code. In the Read More...
|
-
In part 1 of this series of posts, I gave an overview of how to write a VirtualizingPanel. One of the keys to the implementation is understanding IItemContainerGenerator. I personally found it a bit nonintuitive to begin with. IItemContainerGenerator Read More...
|
-
When debugging native code, it's easy to keep track of objects by their addresses. But, with managed code, you don't really have this option. This can make it hard to tell keep track of objects. But, when debugging in Visual Studio (at least 2005), you Read More...
|
-
The Visual Studio Hacks site has a good list of navigation shortcuts here . If you haven't read the Visual Studio Hacks book, it's worth getting. One thing I didn't see mentioned there is using the find field to open files. If you have a project with Read More...
|
-
Displaying large sets of data can be challenging to do performantly. If you have a scrolling list of data, one technique to improve performance is to only create the UI elements that are visible. This is refered to as UI virtualization (as opposed to Read More...
|