我使用
ObjectListView.并使用方法RefreshObject()来更新唯一的修改对象.
// The difference between associations and updatedAssociations is only in // one item,which ID field remains the same. // So i find an updated item by ID in the associations (before updating). //And say Object ListView to to refresh this item. var associationToUpdate = associations.References.Where( x => x.ID == associationIDToUpdate).FirstOrDefault(); olvAssociations.RefreshObject(associationToUpdate); // And only after this set the model to updated model associations = updatedAssociations;
但没有任何反应.有谁知道这件事吗?
解决方法
我想你正在寻找:
objectListView.RefreshItem(item);
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。