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
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleUserInterface
- TCastleRectangleControl
- TCastleTableViewCell
Overview
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure MakeEmpty; |
Properties
![]() |
property TextLabel: TCastleLabel read FTextLabel; |
![]() |
property ImageIcon: TCastleImageControl read FImageIcon; |
![]() |
property AccessoryType: TCastleTableViewCellAccessoryType
read FAccessoryType write FAccessoryType default tvcaNone; |
![]() |
property AccessoryControl: TCastleUserInterface
read FAccessoryControl write SetAccessoryControl default nil; |
Description
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
procedure MakeEmpty; |
This item has no description. |
Properties
![]() |
property TextLabel: TCastleLabel read FTextLabel; |
Use TextLabel.Caption to set the text visible on the cell. |
![]() |
property ImageIcon: TCastleImageControl read FImageIcon; |
Define the (square) image shown at the left cell border. |
![]() |
property AccessoryType: TCastleTableViewCellAccessoryType
read FAccessoryType write FAccessoryType default tvcaNone; |
Decoration shown at the right cell border. |
![]() |
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.