public void Save(FormClosingEventArgs e) { DevExpress.XtraGrid.Views.Base.BaseView view = gridControl1.FocusedView; if (!(view.PostEditor() && view.UpdateCurrentRow())) { if (e != null) { e.Cancel = true; } return; } quickContactTableAdapter.Update(registrationDataSet.QuickContact); }
public UxRepositoryItemComboBox(DevExpress.XtraGrid.Views.Base.BaseView view) { TextEditStyle = TextEditStyles.DisableTextEditor; EditValueChanged += (o, e) => view.PostEditor(); AllowMouseWheel = false; }
public UxRepositoryItemCheckEdit(DevExpress.XtraGrid.Views.Base.BaseView view) { EditValueChanged += (o, e) => view.PostEditor(); }