CommandManager CanExecuteChanged

2 posts, 0 answers
  1. Christian
    Christian avatar
    52 posts
    Member since:
    Apr 2011

    Posted 24 Nov 2011 Link to this post

    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?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 28 Nov 2011 Link to this post

    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 >>

Back to Top