Spread WPF Documentation
SelectionChanged Event (Worksheet)


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SelectionChanged Event
Occurs when selections are changed that may require the selection area to be repainted.
Syntax
'Declaration
 
Public Event SelectionChanged As System.EventHandler(Of SheetSelectionChangedEventArgs)
'Usage
 
Dim instance As Worksheet
Dim handler As System.EventHandler(Of SheetSelectionChangedEventArgs)
 
AddHandler instance.SelectionChanged, handler
public event System.EventHandler<SheetSelectionChangedEventArgs> SelectionChanged
Event Data

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

PropertyDescription
Gets the column index of the selection.  
Gets the number of columns in the selection.  
Gets the row index of the selection.  
Gets the number of rows in the selection.  
See Also