Skip to main content

TcxCustomEditProperties.Alignment Property

Determines the alignment of the editor’s contents.

Declaration

property Alignment: TcxEditAlignment read; write;

Property Value

Type
TcxEditAlignment

Remarks

Use the Alignment property to align data within the editor horizontally and vertically.

Data-aware editors have the default horizontal alignment. When the editor represents data from TDataSet, the default alignment is defined by the TField.Alignment property. You can redefine the alignment for data-aware controls by setting it via the Alignment property. To restore the default alignment, use the RestoreDefaults method.

See Also