简体   繁体   中英

Binding multiple User Controls to single collection

Scenario:

在此处输入图片说明

There are three things: UserControls, GridView and a Collection. There is 1:1:1 Mapping between UserControl:Grid Row: Collection Row

The problem is how to bind a single usercontrol to a collection row. So if any object in collection is updated, corresponding GridView row and usercontrol should be updated automatically.

EDIT: The complete UI would is multithreaded. So most of the times the original collection as a whole would never be recreated. Only objects would be added/deleted/updated.

我要做的是重新绑定事件处理程序上的所有控件以进行集合更新。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM