Skip to main content
A newer version of this page is available.

SnapDocument.BeforeInsertSnListColumns Event

Occurs before a new set of columns is created.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v18.1.Core.dll

Declaration

event BeforeInsertSnListColumnsEventHandler BeforeInsertSnListColumns

Event Data

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

Property Description
DataFields Specifies the data added to the inserted list.
Target Provides access to the target list into which an inserted list is placed.
TargetColumnIndex Specifies the index of a target column, to which an inserted list is placed.

Remarks

Handle the BeforeInsertSnListColumns event to change the layout of inserted columns, or to change the position of the column in the target list.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeforeInsertSnListColumns event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also