# TreeListControlBase.AllowScrollingOnDrag property

Gets or sets whether the view scrolls automatically when a dragged element approaches its edge.

```csharp
public bool AllowScrollingOnDrag { get; set; }
```

## See Also

* class [TreeListControlBase](../TreeListControlBase.md)
* namespace [Eremex.AvaloniaUI.Controls.TreeList](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
