How to change the number of lines that the mouse scroll wheel will either rise or fall?
Hello,
Based on the above suggestions you probably could use something like the following:
public Form1(){ InitializeComponent(); ultraGrid1.MouseWheel += new MouseEventHandler(ultraGrid1_MouseWheel);} void ultraGrid1_MouseWheel(object sender, MouseEventArgs e){ if (e.Delta < 0) { // Determine how exactly you would like to scroll the UltraGrid.If you are using the code below you will scroll 10 rows up/down ultraGrid1.DisplayLayout.RowScrollRegions[0].ScrollPosition += 7; } else { ultraGrid1.DisplayLayout.RowScrollRegions[0].ScrollPosition -= 7; }}
void ultraGrid1_MouseWheel(object sender, MouseEventArgs e){ if (e.Delta < 0) { // Determine how exactly you would like to scroll the UltraGrid.If you are using the code below you will scroll 10 rows up/down ultraGrid1.DisplayLayout.RowScrollRegions[0].ScrollPosition += 7; } else { ultraGrid1.DisplayLayout.RowScrollRegions[0].ScrollPosition -= 7; }}
Please if you have any questions do not hesitate to ask me.Regards