Back to Devexpress

DocumentViewerBase.EnableSmoothScrolling Property

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-9b7eae17.md

latest2.2 KB
Original Source

DocumentViewerBase.EnableSmoothScrolling Property

Specifies whether to enable smooth scrolling in the Document Viewer control.

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public virtual DefaultBoolean EnableSmoothScrolling { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Overridable Property EnableSmoothScrolling As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

True , to enable smooth scrolling in the Document Viewer control; otherwise, False. The Default value is equivalent to False.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

The EnableSmoothScrolling property has effect only when the UseDirectXPaint property is enabled. Note that smooth scrolling might require more application resources to render document pages.

See Also

UseDirectXPaint

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace