BindingListDisposeBehavior Enumeration
Represents disposing strategy for the wrapped collection and elements when a
FastBindingListT instance is disposed.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public enum BindingListDisposeBehavior
Public Enumeration BindingListDisposeBehavior
public enum class BindingListDisposeBehavior
type BindingListDisposeBehavior
DisposeCollection | 0 |
Indicates that the wrapped collection should be disposed if it implements the IDisposable interface.
|
DisposeCollectionAndItems | 1 |
Indicates that the wrapped collection and the items should be disposed if they implement the IDisposable interface.
Elements are never disposed when they are overwritten or removed, only when the parent FastBindingListT is disposed.
|
KeepAlive | 2 |
Indicates that neither the wrapped collection nor the items should be disposed when the parent FastBindingListT is disposed,
in which case only the event subscriptions are removed.
|