Answers for "Scrol viewe wpf mouse"

C#
1

wpf scrollviewer mouse wheel

private void ListViewScrollViewer_PreviewMouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e)
{
   ScrollViewer scv = (ScrollViewer)sender;
   scv.ScrollToVerticalOffset(scv.VerticalOffset - e.Delta);
   e.Handled = true;
 }
Posted by: Guest on December-12-2019

C# Answers by Framework

Browse Popular Code Answers by Language