Skip to main content
All docs
V25.1
  • DiagramOptionsBehavior.AllowOptimizedScrolling Property

    Gets or sets whether to enable the optimized scroll mechanism.

    Namespace: DevExpress.XtraDiagram.Options

    Assembly: DevExpress.XtraDiagram.v25.1.dll

    NuGet Package: DevExpress.Win.Diagram

    Declaration

    [DefaultValue(DefaultBoolean.Default)]
    [DiagramCategory(DiagramCategory.Behavior)]
    public DefaultBoolean AllowOptimizedScrolling { get; set; }

    Property Value

    Type Default Description
    DefaultBoolean Default

    true, to enable the optimized scroll mechanism; otherwise, false.

    Available values:

    Name Description Return 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 Type Path 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