ContentAlignment Property

Applies to TestComplete 14.40, last modified on April 22, 2021

Specifies the alignment of the button caption.

Declaration

itemObj.ContentAlignment
Read-Write Property String
itemObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxEditButton

Description

Use the ContentAlignment property to get or set the alignment of the caption text within the button control.

Property Value

One of the following string constants:

Value Description
taCenter The caption text is centered. This is the default value.
taLeftJustify The caption text is aligned left.
taRightJustify The caption text is aligned right.
Highlight search results