DiagramLite Programmer's Guide
Diagram.AutoScroll Property
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool AutoScroll { get; set; }

Visual Basic  Copy Code

Public Property AutoScroll As Boolean

 Property Value

true if the diagram should scroll automatically; otherwise, false. The default value is false.

 Remarks

If enabled, the control will scroll its content automatically when the user drags the mouse near the viewport edges. This works only if the diagram is placed inside a ScrollViewer or a Ruler.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
Bounds Property
AutoResize Property