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.
Hello All,
I am researching how to detect a mouse down over a cell border. I found CellMouseDown & CellHitTest for locating the mouse down over a cell.
I could use e.MouseEventArgs.X, e.MouseEventArgs.Y and figure out using RowHeights and ColWidths if there is a hit.
Any ideas on how to do it.
Robert
ADAdministrator Syncfusion Team July 21, 2005 11:13 PM UTC
You can use grid..RangeInfoToRectangle to get a rectnagle of the cell bounds. Then you can compare the point to this rectangle to see the point is colse to one edge or another.