vcl-cxcheckbox-dot-tcxcustomcheckboxproperties-765dd8ae.md
Specifies the horizontal check box alignment.
property Alignment: TAlignment read; write;
| Type | Description |
|---|---|
| TAlignment |
The horizontal check box alignment.
|
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.
The following table demonstrates different Alignment property values under the same conditions:
| Value | Example[1] | Description |
|---|---|---|
| taLeftJustify (default) | The check box is aligned to the left editor border. | |
| taCenter | The check box is centered within the editor area. The check box caption is hidden. | |
| taRightJustify | The check box is aligned to the right editor border. The caption is positioned at the opposite border. |
The Alignment property’s default value is taLeftJustify.
Footnotes
Alignment property values for the same [check box editor] under the following conditions:See Also
TcxCustomCheckBoxProperties.UseAlignmentWhenInplace Property
TcxCustomCheckBoxProperties Class