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.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
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 a 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