Property : State

Page Status: Beta

Back to Properties

Contents

Description

Use the State property to dynamically hide, show, enable, and disable controls bound to this field or function at runtime.

Notice that the State property is set on the field or function that a control is bound to, not the control itself.

The Show and Enable Site (Path or Expression) settings should evaluate to boolean values.

To hide a control bound to this field, set Show to false.

To disable a control bound to this field, set Enable to false.

For information on modifying the appearance of disabled controls, see the Fade on Disable property. To handle layout changes due to controls dynamically showing or hiding, see the Retain Space property.

Property Editor Location

Behavior tab

Data Type

Site (Path or Expression) to Boolean

Default Values

Class Member     Default Value
Field Show:   not set
Enable: not set
Function Show:   not set
Enable: not set
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.