private void SetComboBoxDataBindings(MVVMContextFluentAPI <BackupViewModel> fluent) { fluent.SetItemsSourceBinding(imageComboBoxEditDatabaseList.Properties, cb => cb.Items, x => x.DatabaseList, (i, e) => Equals(i.Value, e), entity => new ImageComboBoxItem(entity), null, null); fluent.SetItemsSourceBinding(imageComboBoxEditBackupType.Properties, cb => cb.Items, x => x.IncrementalTypes, (i, e) => Equals(i.Value, e), entity => new ImageComboBoxItem(entity), null, null); fluent.SetBinding(imageComboBoxEditBackupType, x => x.EditValue, vm => vm.IncrementalTypeString); }