editable property
bool
get
editable
Gets or sets a value indicating whether this PdfComboBoxField is editable.
The default value is false.
Implementation
bool get editable {
if (_helper.isLoadedField) {
_editable = _helper.isFlagPresent(FieldFlags.edit) ||
_helper.flags.contains(FieldFlags.edit);
}
return _editable;
}
set
editable
(bool value)
Implementation
set editable(bool value) {
if (_editable != value || _helper.isLoadedField) {
_editable = value;
_editable
? _helper.flags.add(FieldFlags.edit)
: _helper.isLoadedField
? _helper.removeFlag(FieldFlags.edit)
: _helper.flags.remove(FieldFlags.edit);
}
}