This is a migrated thread and some comments may be shown as answers.
CommandManager CanExecuteChanged
1 Answer 39 Views
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 24 Nov 2011, 02:38 PM
Hi,

in Wpf we use CommandManager and our own DelegateCommand class.With the little trick descriped in Josh Smiths blog
(http://joshsmithonwpf.wordpress.com/2008/06/17/allowing-commandmanager-to-query-your-icommand-objects/) the UI elements get disabled/enabled when the conditions in the viewmodel change.
CommandManager calls InvalidateRequerySuggested when certain actions happen, for example when keyboard focus changes.

The question is: Is the same true for Telerik.Windows.Controls.CommandManager?
Has anyone tried this yet?

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 28 Nov 2011, 04:13 PM
Hi Christian,

You should be able to do the same with our CommandManager class as it was designed to have the same API and behavior as its WPF counterpart (at least as much as possible, having in mind the many limitations of Silverlight compared to WPF).

Best wishes,
Valeri Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Asked by
Christian
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or