Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WPF   (RSS)

Hacky way of doing changing bitmaps on a button in WPF

I came up with a hacky way of doing "hover" and "press" buttons in WPF recently. There are a couple of nice examples on the web, but I was looking for a way to do it purely through XAML. If there's a nicer way to do it through XAML (or if there are big
Posted by ericgu | 3 Comments
Filed under: , ,

Visual Studio, Expression Blend, and WPF

I've been doing a bit of prototyping work with the aforementioned products, and thought that since Blend has an RC1 release , it was a good time to share a few thoughts... The short story is that both VS and blend are pretty good tools for building in
Posted by ericgu | 2 Comments
Filed under: , ,

WPF Tip: Names can't have ":" in them...

If you are doing storyboard-based animation, the animation is hooked up to a specific element through a unique id. You write code something like this: element.Name = "Fred"; window.RegisterName(element.Name, element); The second call establishes the relationship
Posted by ericgu | 2 Comments
Filed under: ,

Taking snapshots of WPF animation

I've been playing around with WPF animation, and ended up wanting to take a snapshot of an animation at a specific place. Specifically, I have a canvas that has some pictures on it that are moving, and I want to be able to save a bitmap of what it looks
Posted by ericgu | 2 Comments
Filed under: , ,
 
Page view tracker