public void EndEdit() { if (!inEdit) { return; } inEdit = false; BackupNameDataObject = null; }
public void CancelEdit() { if (!inEdit) { return; } inEdit = false; CurrentNameDataObject = BackupNameDataObject; }
public void BeginEdit() { if (inEdit) { return; } inEdit = true; BackupNameDataObject = (NameDataObject)CurrentNameDataObject.Clone(); }
protected BaseNameBindableEditableObject() { CurrentNameDataObject = new NameDataObject(); }