CommandBindings to TaskDialog buttons

Jul 10, 2009 at 3:01 PM


is it possible to add commandbindings to TaskDialog buttons?

Jul 14, 2009 at 7:25 AM

Yes, but only if you use actual instances of buttons instead of TaskDialogButtonData. For example:




        <Button />



or in code:

var dialog = new TaskDialog { Buttons = { new Button() } };


Jul 15, 2009 at 5:04 PM
Edited Jul 15, 2009 at 5:51 PM


why doesn't CanExecute work, i.e. why isn't the button disabled if the condition isn't met?

Also, when can we expect a new release of this excellent lib?


Edit: Never mind it works now.

Jul 16, 2009 at 6:43 AM
Edited Jul 16, 2009 at 6:44 AM

Thanks for the compliment. I have plans to release a new version of the library, but I never get around to it. I've been working on a very cool new control (actually doing some extensive rework on a control previously released by MS - with permission of course). When it's ready, I'll post a new version (along with some other long due fixes).

If you have any issues or suggestions, please feel free to send them along.

Jul 23, 2009 at 3:23 PM

A property grid ( and embedded controls would be nice ( check "Innovative Features").