Table of Contents

Class BaseObservableCollection

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Base class for custom observable collections.

public abstract class BaseObservableCollection
Inheritance
BaseObservableCollection
Derived
Inherited Members
Extension Methods

Constructors

BaseObservableCollection()

protected BaseObservableCollection()

Properties

Count

public abstract int Count { get; }

Property Value

int

MaxCount

Max number of elements before collection will auto trim itself. -1 to disable.

public int MaxCount { get; set; }

Property Value

int

Methods

CheckCount()

Check current count and trim if necessary.

protected void CheckCount()

RemoveRange(int, int)

public abstract int RemoveRange(int index, int count)

Parameters

index int
count int

Returns

int