refresh a collection in propertygrid

前端 未结 2 1461
闹比i
闹比i 2021-01-29 02:31

hay all. i am using property grid to add or remove an object to a collection. but when the collectioneditor is closed only once the grid refreshes. after adding another object

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 03:14

    Implement INotifyCollectionChanged interface or use ObservableCollection class. see the link

提交回复
热议问题