Class TCastleTableViewCell

Unit

Declaration

type TCastleTableViewCell = class(TCastleRectangleControl)

Description

Cell inside TCastleTableView. Do not create the cells by yourself, use TableView datasource to fill data.

Cell is organized as:

---------------------------------------------------------------------
| ImageIcon | TextLabel ......   | AccessoryControl | AccessoryType |
---------------------------------------------------------------------

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure MakeEmpty;

Properties

Public property TextLabel: TCastleLabel read FTextLabel;
Public property ImageIcon: TCastleImageControl read FImageIcon;
Public property AccessoryType: TCastleTableViewCellAccessoryType read FAccessoryType write FAccessoryType default tvcaNone;
Public property AccessoryControl: TCastleUserInterface read FAccessoryControl write SetAccessoryControl default nil;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure MakeEmpty;

This item has no description.

Properties

Public property TextLabel: TCastleLabel read FTextLabel;

Use TextLabel.Caption to set the text visible on the cell.

Public property ImageIcon: TCastleImageControl read FImageIcon;

Define the (square) image shown at the left cell border.

Public property AccessoryType: TCastleTableViewCellAccessoryType read FAccessoryType write FAccessoryType default tvcaNone;

Decoration shown at the right cell border.

Public property AccessoryControl: TCastleUserInterface read FAccessoryControl write SetAccessoryControl default nil;

Any custom control added at the right cell border (e.g. SwitchControl, ImageControl)


Generated by PasDoc 0.16.0.