DataModelBase

Description

abstract class Tinman.Engine.GUI.Components.DataModelBase<TValue>

Derived from

Disposable abstract
IDataModelGeneric<TValue>

Extended by

DataItemModel sealed
FileSystemDataModel sealed
ListModel sealed
TableModel sealed

Abstract base class for IDataModel implementations.

Protected / Constructors

Data­Model­Base


protected constructor DataModelBase → ()

Creates a new instance of DataModelBase.

Protected / Methods

Notify­Modified

3 overloads


protected method NotifyModified1 → (1)

change in : int32

Value for DataEvent.Change.

Triggers the IDataModel.Modified event for all rows.


protected method NotifyModified2 → (2)

change in : int32

Value for DataEvent.Change.

row in : int32

The affected row.

Triggers the IDataModel.Modified event for a single row.


protected method NotifyModified3 → (3)

change in : int32

Value for DataEvent.Change.

rowFrom in : int32

First affected row (inclusive).

rowTo in : int32

Last affected row (exclusive).

Triggers the IDataModel.Modified event for a range of rows.