Table of Contents

Method OnColumnsItemInserted

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

OnColumnsItemInserted(object?, int, ListControlColumn)

Handles the event when a new column is inserted into the columns collection.

protected virtual void OnColumnsItemInserted(object? sender, int index, ListControlColumn item)

Parameters

sender object

The source of the event, typically the collection where the column was inserted.

index int

The zero-based index at which the column was inserted.

item ListControlColumn

The ListControlColumn that was inserted.

Remarks

This method is called whenever a column is added to the columns collection. Override this method in a derived class to perform custom actions when a column is inserted.