Back to Devexpress

TcxCustomCheckBoxProperties.Alignment Property

vcl-cxcheckbox-dot-tcxcustomcheckboxproperties-765dd8ae.md

latest2.7 KB
Original Source

TcxCustomCheckBoxProperties.Alignment Property

Specifies the horizontal check box alignment.

Declaration

delphi
property Alignment: TAlignment read; write;

Property Value

TypeDescription
TAlignment

The horizontal check box alignment.

|

Remarks

Use the Alignment property to change horizontal check box and caption positions.

Note

Left and right-aligned check box positions swap places when the check box BiDiMode property is set to bdRightToLeft.

Property Values

The following table demonstrates different Alignment property values under the same conditions:

ValueExample[1]Description
taLeftJustify (default)The check box is aligned to the left editor border.
taCenterThe check box is centered within the editor area. The check box caption is hidden.
taRightJustifyThe check box is aligned to the right editor border. The caption is positioned at the opposite border.

Default Value

The Alignment property’s default value is taLeftJustify.

Footnotes

  1. These examples demonstrate all Alignment property values for the same [check box editor] under the following conditions:

See Also

TcxCustomCheckBoxProperties.UseAlignmentWhenInplace Property

TcxCustomCheckBoxProperties Class

TcxCustomCheckBoxProperties Members

cxCheckBox Unit