ScriptCommandBinding creates CommandBinding for use in UI.

It requires RoutedUICommand (the static key) IScriptCommand, ParameterDicConverter, they are exported to the ViewModel and register there.

public interface IScriptCommandBinding : INotifyPropertyChanged
    {
        IScriptCommand ScriptCommand { get; set; }
        ICommand Command { get; set; }
        RoutedUICommand UICommandKey { get; }
        //Use by the UI.
        CommandBinding CommandBinding { get; } 
        ScriptBindingScope Scope { get; }
    }

Last edited Aug 8, 2014 at 7:41 AM by lycj, version 1

Comments

No comments yet.