Without having seen the pic (did you forget to include it?), I'm guessing you're talking about groups within a ListView. This is pretty easy to accomplish.
Take a look at the MSDN documentation on the ListView.Groups property. Once you've defined your groups ("Template Categories" and "Microsoft Office Online" in your example) you can specify a Group on each ListViewItem to make it stay within that group.
Matt Hamilton
2009-04-24 00:01:30