Thursday, August 02, 2007 3:49 PM szurgot

First WPF Release

http://www.szurgot.net/Src/WPFTraceMonitor.zip

After dogfooding for a few days, I'm releasing my first WPF program. As metioned in my post over the weekend, it's a update of an older debugging tool I had written to capture Trace.WriteLine output. I continue to like WPF, and next I'll try some graphics programs.

I kept a list of some interesting and annoying things I'd come accross. I hope this helps somebody.

 I hope people find this useful.

(If you can't download the file, my hosting company just moved the site, hopefully the DNS is propagated by now)


- Setting defaults:
http://colbycavin.spaces.live.com/blog/cns!5FFDF795EBC7BEDF!137.entry?&_c02_owner=1

This one works, but it messes up the designer.
Moved the statements into code so it doesn't mess up the designer, but it breaks the separation layer, I think.
Looking for a good way to do it in Xaml without too much extra code or markup.

- Setting Command & Input Gestures on menu items:
http://colbycavin.spaces.live.com/blog/cns!5FFDF795EBC7BEDF!129.entry?&_c02_owner=1

It seems to me there should be a cleaner way to do it in Xaml without having to create code, and then put the markup in
two separate areas in the code.

- The notify icon is a Windows Form icon since WPF doesn't provide one.

- Setting the application Icon through IconBitmapDecoder
http://www.ekampf.com/blog/2006/10/03/SettingWindowIconPropertyValueFromCodebehind.aspx
I could've just used the Application Icon, but I was trying to figure out how best to do it in code
I'd still like to know how to do it in Xaml.
- Neat! It seems that a ListView will scroll if you scroll the mouse wheel even if the focus is elsewhere in the app.
Doesn't work if the focus is on another app though. Still, a nice piece of functionality.

Filed under:

Comments

No Comments