Skip to main content

DataViewBase.AllowScrollingOnDrag Property

Gets or sets whether dragging records to the edges of the grid’s view automatically activates scrolling. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public bool AllowScrollingOnDrag { get; set; }

Property Value

Type Description

true, to activate scrolling when dragging records to the edges of the grid’s view; otherwise, false.


The code sample below shows how to use the AllowScrollingOnDrag property to prevent a user from scrolling:

      <dxg:TreeListView AllowDragDrop="True" AllowScrollingOnDrag="False" />

Refer to the Drag-and-Drop topic to learn more.

See Also