当前位置:编程学习 > C#/ASP.NET >>

求助,wpf DataGrid绑定的值改变,有没有相应的事件来对应cell?

功能如下

    <Style TargetType="DataGridCell">
        <Style.Triggers>
            <EventTrigger RoutedEvent="MouseMove">
                <EventTrigger.Actions>
                    <BeginStoryboard>
                        <Storyboard>
                            <ColorAnimation Storyboard.TargetProperty="Background.Color"  To="Yellow" Duration="0:0:2"/>
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger.Actions>
            </EventTrigger>
        </Style.Triggers>     
    </Style>


源绑定一个list,list里的值发生改变时,有没有相应的RouteEvent呢?或者有什么思路能实现呢?谢谢
补充:.NET技术 ,  C#
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,