开发者

Refresh Datagrid automatically when its ItemsSource changed

I'm using a datagrid in a UserControl. How can I refresh Dat开发者_运维技巧agrid automatically when its ItemsSource changed without using DataGrid.Items.Refresh();


What you need to do is use an observable collection.

here is an old but valid example: http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜