Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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;
 }
Comment

PREVIOUS NEXT
Code Example
Csharp :: dart extending list 
Csharp :: how to freeze x and y position in rb2d with code unity 
Csharp :: c# how to check if two lists have same values 
Csharp :: ef core detach entity 
Csharp :: C# convert iformfile to stream 
Csharp :: print an array c# 
Csharp :: boostrap 4 modal 
Csharp :: how to check if textbox is empty in c# 
Csharp :: how to cjeck if a string has a word c# 
Csharp :: how to execute linux command from c# 
Csharp :: merge point 
:: deltatime 
Csharp :: c# list append 
Csharp :: convert int to short c# 
Csharp :: convert text to number c# 
Csharp :: unity how to load a scene 
Csharp :: 2d game art 
Csharp :: how to create a list in c# unity 
Csharp :: get 2d rotation from 2 position math 
Csharp :: unity default cube mesh 
Csharp :: c# list to string join 
Csharp :: unity keycode for f 
Csharp :: difference between iqueryable and ienumerable c# 
Csharp :: Get key by his value on Dict C# 
Csharp :: how to print using C# 
Csharp :: restart level unity 
Csharp :: how to destroy a gameobject in c# 
Csharp :: unity key up 
Csharp :: gameobject in unity c# 
Csharp :: list.max c# 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =