Class TRbwDataGridRows

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRbwDataGridRows = class(TCollection)

Description

TRbwDataGridRows is a collection of all the rows in a TRbwRowDataGrid.

Hierarchy

Overview

Fields

Private FGrid: TCustomRBWDataGrid;

Methods

Private function GetItems(Index: Integer): TRbwRow;
Private procedure SetItems(Index: Integer; const Value: TRbwRow);
Protected function GetOwner: TPersistent; override;
Protected procedure Update(Item: TCollectionItem); override;
Public function Add: TRbwRow;
Public constructor Create(Grid: TRbwRowDataGrid; RowClass: TRbwRowClass);

Properties

Public property Grid: TCustomRBWDataGrid read FGrid;
Public property Items[Index:Integer]: TRbwRow read GetItems write SetItems;

Description

Fields

Private FGrid: TCustomRBWDataGrid;

FGrid: TCustomRBWDataGrid;

See Grid

Methods

Private function GetItems(Index: Integer): TRbwRow;

See Items

Private procedure SetItems(Index: Integer; const Value: TRbwRow);

See Items

Protected function GetOwner: TPersistent; override;

GetOwner returns the TRbwRowDataGrid that owns the TRbwDataGridRows.

Protected procedure Update(Item: TCollectionItem); override;

Update invalidates all or part of the grid.

Public function Add: TRbwRow;

Add create a new row.

Public constructor Create(Grid: TRbwRowDataGrid; RowClass: TRbwRowClass);

Call inherited Create and assigns the TRbwRowDataGrid.

Properties

Public property Grid: TCustomRBWDataGrid read FGrid;

Grid is the TCustomRBWDataGrid that owns the collection.

Public property Items[Index:Integer]: TRbwRow read GetItems write SetItems;

Items is used to access individual rows.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:59