操作越详细越好,谢谢
foreach(PropertyEditor item in ((DetailView)View).GetItems<PropertyEditor>()) { if(item.AllowEdit) { try { item.PropertyValue = null; } catch(IntermediateMemberIsNullException) { item.Refresh(); } } }