CodingWPF

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  THERE IS NO GOD BUT (RENDLE)   
 To:  Rich     
35512.15 In reply to 35512.14 
I love the Command model, with the CanExecute handler. No more fucking about with enabling menu items, toolbar buttons, keyboard shortcuts and all that nonsense. One check in one place and it's magically picked up by everything.

I created a DialogCommands class with OK and Cancel commands in it, and got them to automatically wire themselves up to Enter and Escape.

So much better than any other UI framework I've ever used.

0/0
 Reply   Quote More 

 From:  Rich  
 To:  THERE IS NO GOD BUT (RENDLE)      
35512.16 In reply to 35512.15 
Commands are pretty awesome.

I find constructing DependencyPropertys to be a bit faffy.

We've been doing a bit of stuff around amendability using XAMLReader.Load() which allows for really easy control injection.

I especially like the way you can specify assemblies in your imported XAML that the originating program has no concept of, and do your code-behind stuff in them. Really flexible.

I'm sold, can you tell? :)




Rich
Web: LostJohnnies.com
Email: rich [at] lostjohnnies [dot] com
MSN Messenger: dexta1984 [at] hotmail [dot] com
____________________________________________________

0/0
 Reply   Quote More 

Reply to All    
 

1–16

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats