DataEvent

Description

sealed class Tinman.Engine.GUI.Components.DataEvent

Describes a data change event in a IDataModel.

Public / Constructors

Data​Event


public constructor DataEvent → (3)

model in : IDataModel

[not-null]
The value for Model.

change in : int32

The value for Change.

rows in : RangeI

The value for Rows.

Creates a new instance of DataEvent.

Public / Attributes

Change


public readonly attribute Change → (int32)

Indicates the kind of modification that has been performed.

< 0 : The rows have been removed from the model,
= 0 : The content of the rows has been updated,
> 0 : The rows have been added to the model.

If rows have been added to or removed from the model, and the range Rows will span all rows.

Model


public readonly attribute Model → (IDataModel)

The IDataModel that is affected by this data event.

Rows


public readonly attribute Rows → (RangeI)

The index range of the rows that are affected by this data event.