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

Declaration

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

Property Value

Type Description
Boolean

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

Remarks

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

<dxg:GridControl>
   <!---->
   <dxg:GridControl.View>
      <dxg:TreeListView AllowDragDrop="True" AllowScrollingOnDrag="False" />
   </dxg:GridControl.View>
</dxg:GridControl>

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

See Also