readOnly property

bool get readOnly

Gets or sets a value indicating whether the form is read only.

The default value is false.

Implementation

bool get readOnly => _readOnly;
set readOnly (bool value)

Implementation

set readOnly(bool value) {
  _readOnly = value;
  if (_helper.isLoadedForm) {
    for (int i = 0; i < fields.count; i++) {
      fields[i].readOnly = value;
    }
  }
}