FMX.Layouts.TGridPanelLayout.TCellItem.SizeStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SizeStyle: TSizeStyle read FSizeStyle write SetSizeStyle default TSizeStyle.Percent;

C++

__property TGridPanelLayout::TSizeStyle SizeStyle = {read=FSizeStyle, write=SetSizeStyle, default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TCellItem

Description

Specifies the manner in which the size of the column or the row is specified.

Use the SizeStyle property to specify whether the size of the row or column in the TGridPanelLayout grid panel layout is an absolute value (pixels), a percentage of the grid size, or generated automatically.

The following styles are available:

Style Description

Absolute

The number specified for the Value property defines the number of pixels for the row or column.

Auto

Ignores the number specified for the Value property. The row or column is sized automatically.

Percent

The number specified for the Value property defines a percentage in the entire grid panel.

See Also