Top

Definition of the distance from the top side to the top side of the surrounding control. This value may be empty if Height and Bottom are filled out.

Top 1:

Learn how controls can be positioned and their size defined.

Schema: tchmi:framework#/definitions/MeasurementValue

Attribute getter

public getTop(): number | null;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

number, null

The current value of the attribute.

Attribute setter

public setTop(valueNew: number | null): void;

Parameter

Name

Type

Description

valueNew

number, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

Top 2:

Available from 1.8