Back to Devexpress

DiagramOptionsBehavior.AllowOptimizedScrolling Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsbehavior-54acbd4d.md

latest2.2 KB
Original Source

DiagramOptionsBehavior.AllowOptimizedScrolling Property

Gets or sets whether to enable the optimized scroll mechanism.

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DiagramCategory(DiagramCategory.Behavior)]
public DefaultBoolean AllowOptimizedScrolling { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DiagramCategory(DiagramCategory.Behavior)>
Public Property AllowOptimizedScrolling As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true , to enable the optimized scroll mechanism; otherwise, 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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowOptimizedScrolling
DiagramControl

.OptionsBehavior .AllowOptimizedScrolling

|

Remarks

The optimized scroll mechanism uses caching to speed up scrolling. You can disable it by setting the AllowOptimizedScrolling property to false.

See Also

DiagramOptionsBehavior Class

DiagramOptionsBehavior Members

DevExpress.XtraDiagram.Options Namespace