SpreadsheetGear 2023
RangeSelectionChanged Event (WorkbookView)

SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class : RangeSelectionChanged Event
Occurs after the range selection changes.
<System.ComponentModel.DescriptionAttribute("Occurs when the range selection changes.")>
Public Event RangeSelectionChanged As RangeSelectionChangedEventHandler
Dim instance As WorkbookView
Dim handler As RangeSelectionChangedEventHandler
AddHandler instance.RangeSelectionChanged, handler
[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.

Returns the new range selection.  

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.


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