Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If the user selects a row in a DataGrid, then scrolls it out of view with the mouse wheel, the user cannot get the selected row back into view. How do I work around this limitation?

0
Posted

If the user selects a row in a DataGrid, then scrolls it out of view with the mouse wheel, the user cannot get the selected row back into view. How do I work around this limitation?

0

When you select a row in the DataGrid and scroll it out of view using the mouse wheel, you cannot get it back into view. Here is a workaround. dataGrid1.MouseWheel += new MouseEventHandler( dataGrid1_MouseWheel ); // … private void dataGrid1_MouseWheel…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123