FMX.Controls.TContent

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTContent

Delphi

TContent = class(TControl, IContent)

C++

class PASCALIMPLEMENTATION TContent : public TControl

Properties

Type Visibility Source Unit Parent
class public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls FMX.Controls

Description

Extends the TControl class by declaring the presentation properties of the control as published.

After presentation properties of TControl are declared published, you can use the Object Inspector to set them. This possibility provides an easy way to realign the children of a control.

Use TContent to properly manage the automatic alignment of the control's children. The TContent class is useful when working with anchors or alignment options for certain controls.

The Children property stores an array of children controls attached to this parent control.

For example, see MasterContent of MultiView component as an example.

See Also