Vcl.ExtCtrls.TExpandStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TExpandStyle = (emAddRows, emAddColumns, emFixedSize);

C++

enum DECLSPEC_DENUM TExpandStyle : unsigned char { emAddRows, emAddColumns, emFixedSize };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

Description

Specifies how a grid panel is expanded.

Use TExpandStyle to specify whether rows or columns are added to a grid panel when new controls are added. The meanings of the enumeration members are:

Value Meaning

emAddRows

The GridPanel is expanded vertically -- only rows are added.

emAddColumns

The GridPanel is expanded horizontally -- only columns are added.

emFixedSize

The GridPanel has a fixed number of rows and columns given by the Count property of both the ColumnCollection and RowCollection collections.

See Also