Syncfusion.Grid.Windows


QueryCoveredRange Event (GridModel)

Occurs when the model queries information about covered cells at a specific cell.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Occurs when the model queries information about covered cells at a specific cell.")>
Public Event QueryCoveredRange As GridQueryCoveredRangeEventHandler
'Usage
 
Dim instance As GridModel
Dim handler As GridQueryCoveredRangeEventHandler
 
AddHandler instance.QueryCoveredRange, handler
[Category("Behavior")]
[Description("Occurs when the model queries information about covered cells at a specific cell.")]
public event GridQueryCoveredRangeEventHandler QueryCoveredRange
Event Data

The event handler receives an argument of type GridQueryCoveredRangeEventArgs containing data related to this event. The following GridQueryCoveredRangeEventArgs properties provide information specific to this event.

PropertyDescription
Gets the column index. (Inherited from Syncfusion.Windows.Forms.Grid.GridCellHandledEventArgs)
Indicates whether the event has been handled and no further processing of the event should happen. (Inherited from Syncfusion.ComponentModel.SyncfusionHandledEventArgs)
Gets or sets a GridRangeInfo that will receive the resulting range for the covered cell.  
Gets the row index. (Inherited from Syncfusion.Windows.Forms.Grid.GridCellHandledEventArgs)
Remarks
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 cells range, you should assign the coordinates of the covered cell to GridQueryCoveredRangeEventArgs.Range and set Syncfusion.ComponentModel.SyncfusionHandledEventArgs.Handled to True.

Syncfusion.ComponentModel.SyncfusionHandledEventArgs.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 how to use this event.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also