ObservableBindingListTSetItem Method

Replaces the item at the specified index.

Definition

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

Parameters

index  Int32
The zero-based index of the element to replace.
item  T
The new value for the element at the specified index.

Remarks

After the item is set, ListChanged event of type ItemChanged and CollectionChanged event of type Replace are raised indicating the index of the item that was set.

See Also