allowDrop property

bool get allowDrop

Gets or sets whether the user may end a drag-and-drop operation in this Diagram. This is typically set to true when a Diagram is used with a Palette.

The initial value is true.

Implementation

_i2.bool get allowDrop => _i4.getProperty(
      this,
      'allowDrop',
    );
set allowDrop (bool value)

Implementation

set allowDrop(_i2.bool value) {
  _i4.setProperty(
    this,
    'allowDrop',
    value,
  );
}