Spread WPF Documentation
SelectionChanged Event (Worksheet)


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
ColumnGets the column index of the selection.  
ColumnCountGets the number of columns in the selection.  
RowGets the row index of the selection.  
RowCountGets the number of rows in the selection.  
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.