开发者

How to trigger an animation when row is added to Silverlight DataGrid

I am displaying a list of recently processed items in a Silverlight DataGrid. I really want to add a highlighting animation for newly added rows so that users would immediately notice that something did happen in the application.

How 开发者_Go百科can I trigger my Sotryboard so it is played when new item is added to the ObservableCollection backing the DataGrid?


Catch OnLoadingRow, OnLoadingRowDetails, OnLoadingRowGroup events, there you can prepare and style the actually loaded row. The eventargument is Row, type of DataGridRow, which is inherited from Control.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜