This project has moved and is read-only. For the latest updates, please go here.

Changes i made, might want to merge into your tree

Aug 28, 2009 at 12:45 AM
Edited Aug 28, 2009 at 12:56 AM

I added the grayscale DirectX effect, useful for images and buttons with images. example usage: Button with an image, button is disabled but the image isn't, that where grayscale effect comes in.

I also changed your implementation of the WPF Command Link, i taken it from the Microsoft API Codepack which they released which contains a sole WPF Command link implentation, no api!

 

Full source code with my changes:

http://ittakestime.org/download/AvalonLibrary.zip

Aug 29, 2009 at 1:09 PM

Hi,

Thanks for sharing your code. :)

I won't be adding the effect, since Microsoft released a large effect library at http://wpffx.codeplex.com/, and it includes grayscale.

As for the CommandLink, I prefer my implementation, since it lets you retemplate the control. It is a lookless control, just like a Button. I might use the style from the codepack, though. Seems a bit closer to the OS's command link control.

 

Aelij.