Share via


FormControl.isDisplayed Method

Retrieves a value that indicates whether the control is displayed.

Syntax

public boolean isDisplayed()

Run On

Client

Return Value

Type: boolean
true if the control is displayed; otherwise, false.

Remarks

To modify the visible state of the control, call the visible method.

Examples

The following example shows how to determine whether a control is visible.

info(strfmt("isDisplayed: %1", this.isDisplayed()));

See Also

FormControl Class

FormControl.visible Method