Skip to main content
Version: 3.5

DataGridViewCollectionChangeEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Extends the CollectionChangeEventArgs class to add the internal flag RecreateNewRow.

public class DataGridViewCollectionChangeEventArgs : CollectionChangeEventArgs

Constructors

Instance memberDataGridViewCollectionChangeEventArgs(action, element)

Provides data for the System.Data.DataColumnCollection.CollectionChanged event.

NameTypeDescription
actionCollectionChangeActionOne of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.
elementObjectThe instance of the collection that changed. Usually when action = Refresh, element is null.

Instance memberDataGridViewCollectionChangeEventArgs(action, element, recreateNewRow)

Provides data for the System.Data.DataColumnCollection.CollectionChanged event.

NameTypeDescription
actionCollectionChangeActionOne of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.
elementObjectThe instance of the collection that changed. Usually when action = Refresh, element is null.
recreateNewRowBooleanIndicates whether the grid should re-create the new automatic row.

Properties

Instance memberRecreateNewRow

Boolean: Indicates whether the DataGridView should recreate the new automatic row when the collection changes.