Tag Archives: WPF

Snoop v2.7 released

A new version has been released (download here) of this must have WPF utility. The biggest change is that you can drop a crosshair in the application that you want to snoop so that you no longer have to wait … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Using DrawingBrush to handle transparent backgrounds

With images it is sometimes difficult to see the difference between a white and transparent background. Using a DrawingBush in Tile mode can create the known checker background used in applications as Photoshop. <DrawingBrush> <DrawingBrush.Drawing> <DrawingGroup> <GeometryDrawing Brush=”White”> <GeometryDrawing.Geometry> <RectangleGeometry Rect=”0,0,10,10″ /> … Continue reading

Posted in Uncategorized | Tagged | 2 Comments

WPF Image Buttons

For my Resizer application I wanted a toolbar with image buttons, everything was perfect until I tried to disable the buttons. The first idea was to add a greyscale effect to the button if it was disabled. For a complete … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Resizing images with WPF 4.0

Microsoft changed the default behaviour for scaling images with WPF 4.0/.NET 4.0. They opted for a faster but less accurate scaling algorithm named Linear instead of the default Fant that was used in WPF 3.0. You can change this behaviour using the … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Resizer

I’ve been working on a little project to demo the features of Vidyano. It’s used internally to generate the thumbnails for our Wiki. The source code is available on codeplex and the application is deployed as click-once. I’ll be talking about … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment