Class GridTableQueryCoveredRangeEventArgs
Provides data about the QueryCoveredRange event which can be marked as handled.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridTableQueryCoveredRangeEventArgs : GridQueryCoveredRangeEventArgs
Remarks
GridTableQueryCoveredRangeEventArgs is a custom event argument class used by the QueryCoveredRange event to query information about covered cells at a specified cell.
This event allows you to specify covered ranges at run-time, e.g when you have a large grid with repeating patterns of covered ranges. If the specified row and column index is part of a covered cell's range, you should assign the coordinates of the covered cell to GridTableQueryCoveredRangeEventArgs.Range and set Handled to True.
Handled indicates that you supplied data from your event handler and no further querying for data about covered range information for this cell is necessary.
See the VirtualGrid sample for an example of how to use this event.
Constructors
GridTableQueryCoveredRangeEventArgs(GridTable, Int32, Int32)
Initalizes a new object.
Declaration
public GridTableQueryCoveredRangeEventArgs(GridTable table, int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
GridTable | table | The GridTable |
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridTableQueryCoveredRangeEventArgs(GridTable, Int32, Int32, GridRangeInfo)
Initializes a new instance of the GridTableQueryCoveredRangeEventArgs.
Declaration
public GridTableQueryCoveredRangeEventArgs(GridTable table, int rowIndex, int colIndex, GridRangeInfo range)
Parameters
Type | Name | Description |
---|---|---|
GridTable | table | The GridTable |
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridRangeInfo | range | A GridRangeInfo that will receive the resulting range for the covered cell. |
Properties
Table
The Grid table
Declaration
public GridTable Table { get; }
Property Value
Type |
---|
GridTable |