Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCheckBoxProperties.Alignment Property

Specifies the horizontal check box alignment.

#Declaration

Delphi
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) VCL Editors Library: A Left Border Check Box Alignment Example The check box is aligned to the left editor border.
taCenter VCL Editors Library: A Centered Alignment Example The check box is centered within the editor area. The check box caption is hidden.
taRightJustify VCL Editors Library: A Right Border Check Box Alignment Example 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
  1. 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).
See Also