Represents the context for a virtual grid, providing methods to retrieve pixel rectangles for specific rows and columns.
Namespace: Radzen.Blazor.Spreadsheet
Assembly: Radzen.Blazor.dll
public interface IVirtualGridContextSplits a range into regions based on frozen pane boundaries for rendering.
public abstract IEnumerable<Spreadsheet.RangeInfo> GetRanges(Documents.Spreadsheet.RangeRef range)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.RangeRef | range |
| Type | Description |
|---|---|
| IEnumerable<Spreadsheet.RangeInfo> |
Gets the pixel rectangle for a specific row and column in the virtual grid.
public abstract Spreadsheet.PixelRectangle GetRectangle(int row, int column)
| Type | Name | Description |
|---|---|---|
| int | row | |
| int | column |
| Type | Description |
|---|---|
| Spreadsheet.PixelRectangle |
Gets the pixel rectangle for a specific row and column in the virtual grid.
public abstract Spreadsheet.PixelRectangle GetRectangle(int top, int left, int bottom, int right)
| Type | Name | Description |
|---|---|---|
| int | top | |
| int | left | |
| int | bottom | |
| int | right |
| Type | Description |
|---|---|
| Spreadsheet.PixelRectangle |