ContentAlignment Property

Applies to TestComplete 15.31, last modified on March 17, 2022

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