Class GridQueryCoveredRangeEventArgs
Provides data about the QueryCoveredRange event which can be marked as handled.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridQueryCoveredRangeEventArgs : GridCellHandledEventArgs
Remarks
GridQueryCoveredRangeEventArgs 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 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
GridQueryCoveredRangeEventArgs(Int32, Int32)
Initializes the new instances of the GridQueryCoveredRangeEventArgs class.
Declaration
public GridQueryCoveredRangeEventArgs(int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridQueryCoveredRangeEventArgs(Int32, Int32, GridRangeInfo)
Initializes the new instances of the GridQueryCoveredRangeEventArgs class.
Declaration
public GridQueryCoveredRangeEventArgs(int rowIndex, int colIndex, GridRangeInfo range)
Parameters
Type | Name | Description |
---|---|---|
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
Range
Gets or sets a GridRangeInfo that will receive the resulting range for the covered cell.
Declaration
[TraceProperty(true)]
public GridRangeInfo Range { get; set; }
Property Value
Type |
---|
GridRangeInfo |