Back to Devexpress

XtraScrollableControl.AllowTouchScroll Property

windowsforms-devexpress-dot-xtraeditors-dot-xtrascrollablecontrol-6b9d49a6.md

latest2.0 KB
Original Source

XtraScrollableControl.AllowTouchScroll Property

Gets or sets if end-users can scroll the XtraScrollableControl by dragging its content.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool AllowTouchScroll { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Overridable Property AllowTouchScroll As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if end-users can scroll the XtraScrollableControl by dragging its content; otherwise, false.

|

Remarks

If the AllowTouchScroll property equals true , end-users can touch the XtraScrollableControl content and drag it to scroll this XtraScrollableControl. Otherwise, only scrolling via scroll bars is enabled.

See Also

InvertTouchScroll

XtraScrollableControl Class

XtraScrollableControl Members

DevExpress.XtraEditors Namespace