Syncfusion.Grid.Windows


SelectionChanged Event (GridModel)

Occurs after the model updates its internal data structures when the model in the process of selecting a range of cells as a result of a GridModelSelections.SelectRange.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs after internal data structures were updated with new selection state from a SelectRange command.")>
<CategoryAttribute("Behavior")>
Public Event SelectionChanged As GridSelectionChangedEventHandler
'Usage
 
Dim instance As GridModel
Dim handler As GridSelectionChangedEventHandler
 
AddHandler instance.SelectionChanged, handler
[Description("Occurs after internal data structures were updated with new selection state from a SelectRange command.")]
[Category("Behavior")]
public event GridSelectionChangedEventHandler SelectionChanged
Event Data

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

PropertyDescription
Gets a GridRangeInfoList that holds all selected ranges before this user action.  
Gets the range of cells to be selected.  
Gets the origin source for this event (mouse, keyboard, or programmatic).  
Remarks
The GridModel will raise a SelectionChanging event before it updates its internal data structures and a SelectionChanged event after afterwards. A GridControlBase grid listens to this event and outline the selected range of cells.
AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also