ListModel Description sealed class Tinman.Engine.GUI.Components.ListModel → <TValue> Derived from DataModelBase<TValue> abstract Model for a DataGrid that represents a list of equally typed values. Public / Constructors ListModel public constructor ListModel → () Creates a new instance of ListModel. Public / Methods Add public method Add → (2) value in : TValue The value to add. row opt : int32 = -1 [-1..IDataModel.Rows] The insertion index. If -1, the value of IDataModel.Rows will be used. returns → int32 Index of the new list row. Adds a new list row with the given value in. Clear public method Clear → () Removes all list rows. Remove public method Remove → (1) row in : int32 [0..IDataModel.Rows-1] The row index. Removes a list row. Set public method Set → (2) row in : int32 [0..IDataModel.Rows-1] The row index. value in : TValue The new value. Sets a list value. LabelView Panel