C# Class Catel.MVVM.CommandManagerWrapper

Wrapper class to support key down events and automatically invoke commands on the ICommandManager.
Datei anzeigen Open project: Catel/Catel Class Usage Examples

Public Methods

Method Description
CommandManagerWrapper ( FrameworkElement view, ICommandManager commandManager = null ) : Catel.IoC

Initializes a new instance of the CommandManagerWrapper class.

Private Methods

Method Description
OnKeyDown ( object sender, global::Windows.UI.Xaml.Input.KeyRoutedEventArgs e ) : void
OnViewLoaded ( object sender, RoutedEventArgs e ) : void
OnViewUnloaded ( object sender, RoutedEventArgs e ) : void
Subscribe ( ) : void
Unsubscribe ( ) : void

Method Details

CommandManagerWrapper() public method

Initializes a new instance of the CommandManagerWrapper class.
public CommandManagerWrapper ( FrameworkElement view, ICommandManager commandManager = null ) : Catel.IoC
view System.Windows.FrameworkElement The view.
commandManager ICommandManager The command manager.
return Catel.IoC