Skip to main content

TcxCustomCheckBoxProperties.Alignment Property

Specifies the alignment of a check box editor.

Declaration

property Alignment: TAlignment read; write;

Property Value

Type
TAlignment

Remarks

Use the Alignment property to define the manner in which your check box and caption are aligned. The following table describes the meaning of TAlignment values. The following images are painted using the Windows® XP style.

Value

Meaning

taLeftJustify

The check box and caption are aligned to the left edge of the editor.

taRightJustify

The check box and caption are aligned to the right edge of the editor.

taCenter

The caption is not drawn. The check box is drawn in the center of the editor.

Note

By default, the caption is not drawn within the in-place checkbox editors and the check box is painted in the center of the editors. In order to specify that the check box and caption are aligned according to the Alignment property’s value, set the UseAlignmentWhenInplace property to True.

See Also