Table of Contents

Class UiItemInfo

Namespace
Tripous.Desktop
Assembly
Tripous.Desktop.dll

Creates and populates the metadata objects used while building an item page UI.

public static class UiItemInfo
Inheritance
UiItemInfo
Inherited Members

Methods

AddDetailUiInfo(UiTableInfo, TableDef, DataModule)

Adds visible detail table information to the root UI information object.

One-to-one details and multi-row details are collected separately while the table tree is traversed recursively.

public static void AddDetailUiInfo(UiTableInfo RootUiInfo, TableDef ParentTableDef, DataModule Module)

Parameters

RootUiInfo UiTableInfo
ParentTableDef TableDef
Module DataModule

AddFieldUiInfo(UiTableInfo, FieldDef, Control)

Adds the runtime association between a field and its generated control.

public static void AddFieldUiInfo(UiTableInfo TableUiInfo, FieldDef Field, Control Control)

Parameters

TableUiInfo UiTableInfo
Field FieldDef
Control Control

CreateDetailTableUiInfo(TableDef, TableDef, DataModule)

Creates detail table UI information.

public static UiDetailTableInfo CreateDetailTableUiInfo(TableDef ParentTableDef, TableDef TableDef, DataModule Module)

Parameters

ParentTableDef TableDef
TableDef TableDef
Module DataModule

Returns

UiDetailTableInfo

CreateTopTableUiInfo(DataModule)

Creates the root UI information object for the top table and its visible details.

public static UiTableInfo CreateTopTableUiInfo(DataModule Module)

Parameters

Module DataModule

Returns

UiTableInfo

CreateUiTableInfo(TableDef, DataModule)

Creates UI information for a table.

public static UiTableInfo CreateUiTableInfo(TableDef TableDef, DataModule Module)

Parameters

TableDef TableDef
Module DataModule

Returns

UiTableInfo