List View Row blink
-
Please advise How to make the ListView row blink when the Item value changed or updated with a timer,even need a beep/alarm. This is the xaml code for List View. <ListView DockPanel.Dock="Bottom" Grid.Row="1" Margin="0,0,-1,1" IsSynchronizedWithCurrentItem="True" Name="listView" ItemContainerStyle="{StaticResource ItemContStyle1}" GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler" SelectionMode="Single" FontSize="13" FontFamily="Segoe UI" ScrollViewer.HorizontalScrollBarVisibility="Hidden"> <ListView.View > <GridView x:Name="DashBoardGridView" AllowsColumnReorder="False" > <GridViewColumn Header="Column1" Width="222" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column1}"/> <GridViewColumn Header="Column2" Width="281" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column2}"/> <GridViewColumn Header="Column3" Width="200" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column3}" /> </GridView> </ListView.View> </ListView> Thanks
-
Please advise How to make the ListView row blink when the Item value changed or updated with a timer,even need a beep/alarm. This is the xaml code for List View. <ListView DockPanel.Dock="Bottom" Grid.Row="1" Margin="0,0,-1,1" IsSynchronizedWithCurrentItem="True" Name="listView" ItemContainerStyle="{StaticResource ItemContStyle1}" GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler" SelectionMode="Single" FontSize="13" FontFamily="Segoe UI" ScrollViewer.HorizontalScrollBarVisibility="Hidden"> <ListView.View > <GridView x:Name="DashBoardGridView" AllowsColumnReorder="False" > <GridViewColumn Header="Column1" Width="222" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column1}"/> <GridViewColumn Header="Column2" Width="281" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column2}"/> <GridViewColumn Header="Column3" Width="200" HeaderContainerStyle="{StaticResource headerStyle}" CellTemplate="{StaticResource Template_Column3}" /> </GridView> </ListView.View> </ListView> Thanks
-
Thanks a lot.I will try:)
-
Also please let me know if the value is updated , how to get the old value for the listview item??Depending upon that value, I need to provide blinking..
-
Also please let me know if the value is updated , how to get the old value for the listview item??Depending upon that value, I need to provide blinking..
I don't know what you are binding to so I can't help you there I'm afraid. You'll need to provide more information there. However, saying that - if I were you I'd look to implement a PropertyChangedCallback in your data class. Have a look at this[^] thread.
Deja View - the feeling that you've seen this post before.