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.
How can I obtain a screen point (in client units) of a given row and column?
I looking for something like Grid.RowColToPoint(int Row, int Col).
Preferrably a method that returns negative locations as well for rows and columns not shown on the screen.
Thanks,
Steve
ADAdministrator Syncfusion Team April 15, 2005 11:49 PM UTC
You can try using
Rectangle rect = grid. g.RangeInfoToRectangle(GridRangeInfo.Cell(rowIndex, colIndex));
Then rect.Top and rect.Left will pick out a corner of the cell.
STSteveApril 18, 2005 04:28 PM UTC
Using this method, I can only get points that are positive (rows and columns currently being shown).
I would like to get negative points as well. For example, if row 1 is not being shown, but I would like a point at 1,1.
This will help me position children of the grid that may be anchored at a non-visible row/col but are partially shown.
Thanks,
Steve
>You can try using
>
>Rectangle rect = grid. g.RangeInfoToRectangle(GridRangeInfo.Cell(rowIndex, colIndex));
>
>
>Then rect.Top and rect.Left will pick out a corner of the cell.