Browse by Tags

All Tags » wpf (RSS)

The WPF Contrib Project

I've been quiet for a while. Working a lot, and also burning the midnight oil, trying to bring life into this project I call... the WPF Contrib . Set up at CodePlex, WPF Contrib is mainly a library of reusable components. My goal is for it to become...
Posted by aelij | 4 comment(s)
Filed under: , ,

Trace (route) that call!

Have you ever used EventManager.RegisterClassHandler() ? If so, make sure you know what you're doing. This method allows you to listen to events passing through (as I like to put it) an element (i.e. bubbling or tunneling), regardless of the class that...
Posted by aelij | with no comments
Filed under:

Dispatch It

In WPF, like most UI frameworks, UI elements can only be updated from the thread they were created on. If you do background work, and want to affect the UI from a different thread, you'll have to dispatch it. The Dispatcher class has a CheckAccess() method...
Posted by aelij | 1 comment(s)
Filed under: ,

BitmapEffect Begone

You can do really neat things with Bitmap Effects in WPF. Shadow, Bevel, Outer Glow can all have a great impact on how your application looks. But you should be aware that they don't come cheap. They are rendered in software , which yields very poor performance...
Posted by aelij | 4 comment(s)
Filed under:

Give me back my ClearType

WPF has a separate ClearType rendering system, which is better than GDI's (mostly because it also does y-direction antialiasing; read more here and in the WPF Text Blog .) However, there are some situations in which WPF cannot use ClearType, and has to...
Posted by aelij | 7 comment(s)
Filed under: ,

I Got Rhythm Now Available in XBAP!

This is not quite ready, but I just had to give you a sneak peek: http://arbel.net/blogx/blog.xbap I believe this is the first blog presented in XBAP. The possibilities are endless... The tag cloud uses Kevin Moore 's Bag-O-Tricks . The HTML is being...
Posted by aelij | 2 comment(s)
Filed under: , ,

Monopolij: Avalon* Edition

First - great news. .NET Framework 3.0 has finally been released . Get it now! Monopolij was an app I wrote trying to win a free ticket to PDC'05 (you can download it at that post.) It had a special theme, as you can see in the screenshot... I thought...
Posted by aelij | 1 comment(s)
Filed under: ,

Revamped Style Snooper

Update: This utility has become a bit irrelevant since Reflector now has a BAML Viewer add-in. You can use it to view any assembly containing BAML resources, which it will automatically decompile into XAML. Style Snooper (or StyleSnooper?), originally...
Posted by aelij | 3 comment(s)
Filed under: ,

Forcing WPF to use a specific Windows theme

WPF comes with a few theme assemblies, one for each Windows theme (Luna, Royale and Aero and the fallback theme, Classic.) Usually the theme is loaded according to your current system theme, but if you want to create a consistent look for your application...
Posted by aelij | 23 comment(s)

Ælij’s Little Helpers

During my experiments with WPF, I sometimes encountered a recurring operation that required too much code (in my opinion.) So I did what every well-informed developer would: I encapsulated it into helper classes. Here are some of them: Dependency Helpers...
Posted by aelij | with no comments
Filed under:

Creating new animation types

It's a fairly uncommon scenario to want to animate a type that's not already built into WPF. But when you do, it takes quite a lot of work, mostly hacking it with Reflector to explore this undocumented venue. One day I needed to animate the CornerRadius...
Posted by aelij | 3 comment(s)
Filed under: , ,
More Posts