autoScrollRegion property

Object get autoScrollRegion

Gets or sets the Margin that describes the area along the inside edges of the viewport, in viewport coordinates, where autoscrolling will occur while the mouse (pointer) is held there during dragging or linking or drag-selecting.

The default value is a Margin of 16 on all sides. Increase this value in order to make it easier for the user to autoscroll by having a larger area in which to hold the mouse (pointer) down during a dragging operation.

When the mouse (pointer) drag point is within this region on the left or right sides, the view will automatically scroll horizontally in that direction. When the point is within the region on the top or bottom, the view will automatically scroll vertically in that direction. You can specify a Margin side of zero to disable autoscrolling in a particular direction; a value of Margin(0,0,0,0) turns off autoscrolling in all four directions.

Implementation

_i2.Object get autoScrollRegion => _i4.getProperty(
      this,
      'autoScrollRegion',
    );
set autoScrollRegion (Object value)

Implementation

set autoScrollRegion(_i2.Object value) {
  _i4.setProperty(
    this,
    'autoScrollRegion',
    value,
  );
}