private void MvvmContext_ViewModelSet(object sender, DevExpress.Utils.MVVM.ViewModelSetEventArgs e)
 {
     if (!mvvmContext.IsDesignMode)
     {
         InitializeBindings();
     }
 }
        private void mvvmContext1_ViewModelSet(object sender, DevExpress.Utils.MVVM.ViewModelSetEventArgs e)
        {
            var fluent = mvvmContext1.OfType <TaskViewModel>();

            fluent.SetObjectDataSourceBinding(taskViewModelBindingSource);

            fluent.BindCommand(bbiMarkDone, x => x.MarkDone);
            fluent.BindCommand(bbiPostpone, x => x.Postpone);

            mvvmContext1.RegisterService(MessageBoxService.CreateXtraMessageBoxService(owner: this));
        }