Search
Diagram.AutoScroll Property
See Also
 





Gets or sets a value indicating whether auto scrolling of the document area is enabled.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool AutoScroll { get; set; }

Visual Basic  Copy Code

Public Property AutoScroll As Boolean

 Property Value

true if auto scrolling is enabled; otherwise, false. The default is true.

 Remarks

Enable this property to have the document scroll automatically when new items are added or existing items are being dragged outside the visible area. The Diagram must be a child of a ScrollViewer in order for automatic scrolling to work correctly.

 See Also