ListCaption.IsStretch

Syntax

IsStretch: Boolean;

Description

The IsStretch property determines whether title is stretched.

Comments

Title is considered to be stretched if its width is set in % of the total width.

Use JSON or the setIsStretch method to set the property value, and the getIsStretch method to get the property value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get title
caps = Tree.getCaptions();
cap = caps.getCaptions()[0];
// Determine whether title is stretched
cap.getIsStretch();

After executing the example it is obtained whether title is stretched.

See also:

ListCaption