Back to Devexpress

SpreadsheetControl.ColumnsInserted Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-83b072d6.md

latest1.8 KB
Original Source

SpreadsheetControl.ColumnsInserted Event

Occurs after new columns have been inserted into a worksheet.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event ColumnsInsertedEventHandler ColumnsInserted
vb
Public Event ColumnsInserted As ColumnsInsertedEventHandler

Event Data

The ColumnsInserted event's data class is ColumnsChangedEventArgs. The following properties provide information specific to this event:

PropertyDescription
CountGets the number of columns inserted or removed.
StartIndexGets the index of the first column after which the columns are inserted or removed.

Remarks

Handle the ColumnsInserted event to perform specific actions each time an end-user inserts new columns into a worksheet using the control’s UI.

See Also

How to: Add a New Row or Column to a Worksheet

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace