The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using a grid that can or cannot have numerical up/down button on it. Unfortuanatly, when there are numerical buttons, a paint event is triggered when the mouse merely hovers over one of them which is not the case for common cells. That entails significant overhead when the grid contains many numerical up/down buttons. Is there a way to avoid that overhead?
ADAdministrator Syncfusion Team March 14, 2007 08:09 AM UTC
Hi Ivan,
You can try handling the CellMouseHoverEnter and check for the CellType. If the CellType matches the NumericUpDown then suspend the painting. private void gridControl1_CellMouseHoverEnter(object sender, GridCellMouseEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if (this.gridControl1[cc.RowIndex, cc.ColIndex].CellType == GridCellTypeName.NumericUpDown) { Console.WriteLine("Suspend Painting"); } }