A newer version of this page is available. Switch to the current version.

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.v19.1.Core.dll


public bool AllowScrollingOnDrag { get; set; }
Public Property AllowScrollingOnDrag As Boolean

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 an user from scrolling:

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

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

See Also