SpreadsheetGear 2023
RangeSelectionChanged Event (WorkbookView)


SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : RangeSelectionChanged Event
Occurs after the range selection changes.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Action")>
<System.ComponentModel.DescriptionAttribute("Occurs when the range selection changes.")>
Public Event RangeSelectionChanged As RangeSelectionChangedEventHandler
'Usage
 
Dim instance As WorkbookView
Dim handler As RangeSelectionChangedEventHandler
 
AddHandler instance.RangeSelectionChanged, handler
[System.ComponentModel.Category("Action")]
[System.ComponentModel.Description("Occurs when the range selection changes.")]
public event RangeSelectionChangedEventHandler RangeSelectionChanged
Event Data

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

PropertyDescription
Returns the new range selection.  
Remarks

This event also occurs when the active tab is changed.

The RangeSelectionChanged event is always invoked on the thread which created the workbook view control, and a lock is always acquired on the workbook set associated with the workbook view control before RangeSelectionChanged is invoked.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also