public LayoutViewModel(LayoutView layoutView) { _layoutView = layoutView; _viewLayoutService = IoC.Get <IViewLayout>(); WindowKeyDownCommand = new DelegateCommand <object>(WindowKeyDownHandlerAsync); SetAverageLayoutCommand = DelegateCommand.FromAsyncHandler(SetAverageLayoutAsync); SelectAttendeeAsBigCommand = new DelegateCommand(SelectAttendeeAsBig); SelectAttendeeAsFullCommand = new DelegateCommand(SelectAttendeeAsFull); LoadedCommand = new DelegateCommand(() => { InputSimulatorManager.Instance.Simulator.Keyboard.KeyPress(VirtualKeyCode.TAB); }); }