PrepareChangeSelection Event (GridModel)

Occurs before the model changes the current selection.
<DescriptionAttribute("Occurs before the grid will change the active selection range.")>
Public Event PrepareChangeSelection As GridPrepareChangeSelectionEventHandler
Dim instance As GridModel
Dim handler As GridPrepareChangeSelectionEventHandler
AddHandler instance.PrepareChangeSelection, handler
[Description("Occurs before the grid will change the active selection range.")]
public event GridPrepareChangeSelectionEventHandler PrepareChangeSelection
Event Data

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

Gets the new boundaries of the selected range.  
Gets the previous boundaries of the selected range.  
This event is raised by the model to notify all associated views that there has been a change to the current selection in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically.

See GridPrepareChangeSelectionEventArgs for further discussion about this event.


Syncfusion.Grid.Windows: 17.3460.0.26

See Also