开发者

Silverlight Data Grid

开发者 https://www.devze.com 2022-12-13 14:30 出处:网络
Is there any way to animate a row of my datagrid on a property change?? I want the 开发者_Go百科row background to flicker when one of the values in the row changes.You will need to re-template the \"

Is there any way to animate a row of my datagrid on a property change??

I want the 开发者_Go百科row background to flicker when one of the values in the row changes.


You will need to re-template the "Template" property in your DataGrid.RowStyle. Add an element that encapsulates the elements of the row, and animate that when you add an item. It will be a bit of work, but it certainly is possible

<Style x:Key="AnimatedDataGridRowStyle" TargetType="data:DataGridRow">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="data:DataGridRow">
               ...
0

精彩评论

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

关注公众号