Welcome to MSDN Blogs Sign in | Join | Help

Update to Bag-O-Tricks for RC1

As promised, I've updated the bag-o-tricks. Download now from the WPF Community Site.

Updates

Hex
Hex had a few rough edges that I cleaned up. Thanks to fun with MultiDataTrigger, I removed the need for a special "HexButton". I also cleaned up a bunch of stuff that I must have wrote while drinking...or maybe I've just learned a lot in the last 9 months.

New stuff

BlockBar Control
This is a simple sample of building a control, based on FrameworkElement that uses OnRender. It still uses DependencyProperty, etc. There are cases where you just want to draw. This is one of them.

Graph
This was a fun one. Lots of stuff to cover here, but it's late. The most important point to take away: there are options beyond ItemsControl (and its subclasses) if you want to bind to lists. Graph handles binding to a collection of nodes (via the CenterObject), watches for changes, generates UI--all of the stuff that ItemsControl does, but in a way that allows fine-grain control of "container" creation/clean-up and doesn't use a Panel.
 

KevinButton
Talked about on Channel9. Posted on my blog. A little joke that turned into a big joke. Control + ControlTemplate + Trigger = power. Maybe too much power. (Please click softly.)

Published Wednesday, September 20, 2006 7:49 PM by okoboji

Comments

# Okoboji: a lake, a mythical university, Kevin Moore's blog : Update to Bag-O-Tricks for RC1

# XamlXaml.com » Blog Archive - Exploring XAML, WPF, and .NET 3.0

# Need more cool WPF demos...

Monday, September 25, 2006 11:00 AM by Alexander Holy's Weblog
Heard this a lot recently - in the meantime, ease the pain with Kevin's Bag-O-Tricks aka Kevin Moore's...

# The Bag, the Blogs, the Betas

Tuesday, September 26, 2006 9:29 PM by Okoboji: a lake, a mythical university, Kevin Moore's blog
The Bag Glad to see people are downloading the RC1 rev of the bag-o-tricks. Thanks for the love. (Always...

# How you can tell the bolts are tightening

Wednesday, September 27, 2006 3:08 AM by Okoboji: a lake, a mythical university, Kevin Moore's blog
I tested the latest rev of the bag-o-tricks on Vista RC1 (which included the .NET Framework 3.0 RC1)...

# re: Update to Bag-O-Tricks for RC1

Wednesday, September 27, 2006 7:47 PM by mgemmons
Great WPF stuff! The graph demo is particularly compelling. Keep 'em coming!

# re: Update to Bag-O-Tricks for RC1

Wednesday, September 27, 2006 7:53 PM by mgemmons
I noticed that under the effectts demo, the text does not display any dropshadow or reflection.

-MGE

# Graf/Topic map kode (...og Vista er færdig)

Wednesday, November 08, 2006 4:05 PM by René Løhde (aka Rene Loehde)

For 2 timer siden blev det annonceret at Vista er færdig og før det var det Office 2007. I mandags var

# The Orbifold»Blog Archive » WPF resources

Tuesday, December 12, 2006 1:43 AM by The Orbifold»Blog Archive » WPF resources

# Random bookmarks for myself

Wednesday, January 24, 2007 5:34 PM by Spat's WebLog (Steve Patrick)

Interesting that I put bookmarks here - but my browser bookmarks are so full of stuff I cant find anything

# The Orbifold»Blog Archive » WPF and diagramming

Wednesday, February 21, 2007 1:39 AM by The Orbifold»Blog Archive » WPF and diagramming

# WPF中展开一个TreeView控件的所有树节点

Wednesday, September 05, 2007 5:29 AM by Joycode@Ab110.com

在 Windows Form 应用中,我们碰到需要展开一个TreeView 控件的所有树节点的时候很简单,微软已经替我们提供了ExpandAll 方法,我们只要简单的一行代码tv_QTree.ExpandAll

# WPF中展开一个TreeView控件的所有树节点

Friday, January 18, 2008 1:10 PM by ASP.NET Chinese Blogs

在 Windows Form 应用中,我们碰到需要展开一个TreeView 控件的所有树节点的时候很简单,微软已经替我们提供了ExpandAll 方法,我们只要简单的一行代码tv_QTree.ExpandAll

Anonymous comments are disabled
 
Page view tracker