Hi,
Cell Paint event also happens you move your mouse over it and scroll. I don’t think this will most improve the performance if limit the cell paint event.
Virtual mode is designed for use with very large stores of data. If the data is too large, you’d better load page of data at a time. Hope this helps.
Virtual Mode in the Windows Forms DataGridView Control
http://msdn.microsoft.com/en-us/library/ms171622.aspx
Implementing Virtual Mode with Just-In-Time Data Loading in the Windows Forms DataGridView Control
http://msdn.microsoft.com/en-us/library/ms171624.aspx
Paging in a DatagridView
http://69.10.233.10/KB/miscctrl/Pagable_DatagridView.aspx
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.