Click here to Skip to main content
15,892,161 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok25-Jul-12 19:22
Martijn Kok25-Jul-12 19:22 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0126-Jul-12 7:35
SledgeHammer0126-Jul-12 7:35 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon25-Jul-12 21:45
mvePete O'Hanlon25-Jul-12 21:45 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0126-Jul-12 7:21
SledgeHammer0126-Jul-12 7:21 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok27-Jul-12 1:00
Martijn Kok27-Jul-12 1:00 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0127-Jul-12 6:34
SledgeHammer0127-Jul-12 6:34 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok29-Jul-12 10:03
Martijn Kok29-Jul-12 10:03 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon1-Aug-12 0:52
mvePete O'Hanlon1-Aug-12 0:52 
I've seen more than a few examples that just subscribe to the event, and don't worry about the CommandManager. For instance, if you look at the DelegateCommand that was supplied by the P and P team, you'll see that this doesn't raise it by default. The reason for this is simple - quite often you want to control whether or not the execute change notification is raised because you could be updating several properties in one go and you don't want this to be handled until after you have raised all of the changes.

I use a variation of this to put the control into the developers hand, whereby they can specify on the implementation of the command whether or not they want to automatically subscribe.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: WPF Command Binding Problem Pin
SledgeHammer011-Aug-12 13:20
SledgeHammer011-Aug-12 13:20 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon2-Aug-12 6:38
mvePete O'Hanlon2-Aug-12 6:38 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon25-Jul-12 21:46
mvePete O'Hanlon25-Jul-12 21:46 
GeneralRe: WPF Command Binding Problem [UPDATE] Pin
Kevin Marois31-Jul-12 10:55
professionalKevin Marois31-Jul-12 10:55 
GeneralRe: WPF Command Binding Problem Pin
vinodkrebc26-Jul-12 8:40
vinodkrebc26-Jul-12 8:40 
QuestionInflating color value Pin
Prasoon Chaudhary25-Jul-12 1:59
Prasoon Chaudhary25-Jul-12 1:59 
AnswerRe: Inflating color value Pin
Tony Richards25-Jul-12 2:54
Tony Richards25-Jul-12 2:54 
GeneralRe: Inflating color value Pin
Prasoon Chaudhary25-Jul-12 23:21
Prasoon Chaudhary25-Jul-12 23:21 
AnswerRe: Inflating color value Pin
Christian Amado2-Aug-12 9:19
professionalChristian Amado2-Aug-12 9:19 
GeneralReg: Sending multiple objects from WCF service to silverlight Pin
Durga Charan Krishna Moorthy24-Jul-12 21:00
professionalDurga Charan Krishna Moorthy24-Jul-12 21:00 
GeneralRe: Reg: Sending multiple objects from WCF service to silverlight Pin
Abhinav S24-Jul-12 21:52
Abhinav S24-Jul-12 21:52 
QuestionAuthentication on DomainService Pin
Christian Amado24-Jul-12 11:31
professionalChristian Amado24-Jul-12 11:31 
Questiongetting color value of pixel from outside of WPF Mainwindow Pin
Prasoon Chaudhary24-Jul-12 1:24
Prasoon Chaudhary24-Jul-12 1:24 
QuestionWhen WPF manipulation is ON, ListBox SelectionChanged event isn't fired Pin
Roberto Mazzone24-Jul-12 1:04
Roberto Mazzone24-Jul-12 1:04 
GeneralHow to get all Office version installed using SilverLight Pin
dinhhtvn22-Jul-12 17:43
dinhhtvn22-Jul-12 17:43 
GeneralRe: How to get all Office version installed by SilverLight Pin
Mycroft Holmes22-Jul-12 19:03
professionalMycroft Holmes22-Jul-12 19:03 
AnswerRe: How to get all Office version installed using SilverLight Pin
Christian Amado23-Jul-12 2:59
professionalChristian Amado23-Jul-12 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.