FMX.Layouts.TGridPanelLayout.TExpandStyle
Delphi
TExpandStyle = (AddRows, AddColumns, FixedSize);
C++
enum class DECLSPEC_DENUM TExpandStyle : unsigned char { AddRows, AddColumns, FixedSize, emAddRows _DEPRECATED_ATTRIBUTE3("Use TExpandStyle.AddRows") = 0x0, emAddColumns _DEPRECATED_ATTRIBUTE3("Use TExpandStyle.AddColumns") = 0x1, emFixedSize _DEPRECATED_ATTRIBUTE3("Use TExpandStyle.FixedSize") = 0x2 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TGridPanelLayout |
Description
Specifies how a TGridPanelLayout grid panel layout is expanded.
Use TExpandStyle to specify whether rows or columns are added to a filled TGridPanelLayout grid panel layout when new controls are added. The meanings of the options are:
Value | Meaning |
---|---|
|
TGridPanelLayout is expanded vertically -- only rows are added. |
|
TGridPanelLayout is expanded horizontally -- only columns are added. |
|
TGridPanelLayout has a fixed number of rows and columns given by the Count property of both the ColumnCollection and RowCollection collections. |