.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Workbook.SelectionChanged Event

Fires when the selection changes in a worksheet.

You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v20.2.dll

Declaration

public event EventHandler SelectionChanged
Public Event SelectionChanged As EventHandler

Event Data

The SelectionChanged event's data class is EventArgs.

Remarks

Handle the SelectionChanged event to perform any actions each time the selection changes in a worksheet. Use the following API members to specify the selection in code:

Set the WorkbookEventOptions.RaiseOnModificationsViaAPI property to true to raise the SelectionChanged event when the selection is changed in code. Handle the SelectionChanged event of the WinForms Spreadsheet or WPF Spreadsheet control to perform any actions when a user selects cells, rows, columns, or drawing objects in the control's UI.

Implements

See Also