Eric's Blog

Day to day experience in .NET
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

WPF Is More Than 3D and Video

When Windows Presentation Foundation (WPF) started to be shown at conferences, in magazines and so forth, much of the focus have been on the "flashy" user interfaces with a lot of 3D, video and animations. There was a good article in MSDN Magazine that listed other benefits with WPF compared to today's platforms. I often heard many developers that doesn't believe that WPF is so interesting to them because their applications won't benefit from 3D, video and animations. This might have changed when Silverlight was announced.
I've slowly started to read Adam Nathans book Windows Presentation Foundation Unleashed (only the three first chapter so far) and I have already noticed many things that I like. I thought that I should try to write some post about all this other things that WPF brings to the table. Triggers (mentioned in the MSDN Mag article) is something that I want to test before I talk more about it. The composability of the UI elements in WPF is a great concept and will make it possible to much more, without relying on third party tools or expensive custom drawing code. But I will start in this post to mention Commands, which is something that VB3-6, Winforms have been missing (but I believe that MFC has it). In short commands means that you can assign a command to button that will be invoked when the button is clicked, and the command will also control if the button is enabled or not. This might not sound that exciting, but the good thing with commands is that you can assign the same command to many UI elements like toolbar buttons and menu items and so on. WPF also has quit many standard commands implemented like Copy, Cut, Paste, Undo, Redo, NextPage, Refresh, Zoom, MuteVolume and more. The overview topic of commands on MSDN can be found here.
 
Published den 6 juni 2007 19:24 by ericqu
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems