ObservableBindingListTRemoveItem Method

Removes the element at the specified index from the ObservableBindingListT.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0
C#
protected override void RemoveItem(
	int index
)

Parameters

index  Int32
The zero-based index of the element to remove.

Remarks

This method raises the ListChanged event of type ItemDeleted and CollectionChanged event of type Remove.

Exceptions

InvalidOperationExceptionAllowRemove is and the item to remove is not an uncommitted one added by the AddNew method.

See Also