I have a DataGrid as indicated in the UserControl part:
<DataGrid x:Name="dtGrid" AutoGenerateColumns="False" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode ="Standard" EnableColumnVirtualization="True" EnableRowVirtualization="True" ScrollViewer.IsDeferredScrollingEnabled="True" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="True" ItemsSource ="{Binding}" Block.TextAlignment="Center" AlternatingRowBackground="#F1F1F1" RowBackground="White" CanUserAddRows="False" CanUserDeleteRows="False" FrozenColumnCount="1" GridLinesVisibility="None" > </DataGrid>
I would like to add an event when the user drags horizontally to the DataGrid, it updates the other chart that I have. Can someone point me in the direction to get this started? Thanks.
source share