Skip to main content

TcxCustomEditButton.LeftAlignment Property

Specifies if the button is aligned to the left editor border.

Declaration

property LeftAlignment: Boolean read; write; default False;

Property Value

Type Default Description
Boolean False

True if the button is aligned to the left editor border; otherwise, False.

Remarks

An editor displays new buttons at the right border. You can set the LeftAlignment property to True to position the button at the left border of the parent editor.

Note

Left and right-aligned editor buttons swap places when the parent editor’s BiDiMode property is set to bdRightToLeft.

Property Value Examples

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

Value Example[1]
False (default) VCL Editors Library: A Right-Aligned Embedded Editor Button
True VCL Editors Library: A Left-Aligned Embedded Editor Button

Default Value

The LeftAlignment property’s default value is False.

Footnotes
  1. These examples demonstrate all LeftAlignment property values for the same button editor with one embedded button under the following conditions:

    • The WXI skin is in effect.
    • The Office Dark Gray [color palette] is selected.
    • The editor’s BiDiMode property is set to bdLeftToRight.
See Also