private void CommitEdit() { HasEdit = true; PackageMetadata.ResetErrors(); IsInEditMode = false; OnPropertyChanged("WindowTitle"); }