Syncfusion.Grid.Windows


PrepareChangeSelection Event (GridModel)

Occurs before the model changes the current selection.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Occurs before the grid will change the active selection range.")>
Public Event PrepareChangeSelection As GridPrepareChangeSelectionEventHandler
'Usage
 
Dim instance As GridModel
Dim handler As GridPrepareChangeSelectionEventHandler
 
AddHandler instance.PrepareChangeSelection, handler
[Category("Behavior")]
[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.

PropertyDescription
Gets the new boundaries of the selected range.  
Gets the previous boundaries of the selected range.  
Remarks
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.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also