private void ButtonRecoverFormat_ItemClick(object sender, ItemClickEventArgs e) { if (DefaultLayoutData.IsNotNullOrEmpty()) { if (UIPublic.ShowYesNoDialog("您是否需要默认格式?") == DialogReturn.Yes) { EditorPublic.RemoveEditControllerFromStorage(EditValue.GetType(), Controller.GetType()); this.PropertyGridControl.SetLayoutData(DefaultLayoutData); } } }