TcxCustomCheckBoxProperties.Alignment Property
Specifies the horizontal check box alignment.
Declaration
property Alignment: TAlignment read; write;
Property Value
Type | Description |
---|---|
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:
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. |
Default Value
The Alignment
property’s default value is taLeftJustify.
Footnotes
-
These examples demonstrate all
Alignment
property values for the same [check box editor] under the following conditions:- The
WXICompact
skin is in effect. - The
Calmness
color palette is selected. - The editor’s BiDiMode property is set to
bdLeftToRight
(default).
- The
See Also