开发者

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

开发者 https://www.devze.com 2023-01-14 14:42 出处:网络
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 d

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

精彩评论

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

关注公众号