DiagramLite Programmer's Guide
Diagram.SetScrollerParent Method
See Also
 





Binds the lane-grid header positions to the offset of a ScrollViewer's scrollbars.

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

 Syntax

C#  Copy Code

public void SetScrollerParent (
    ScrollViewer parent
)

Visual Basic  Copy Code

Public Sub SetScrollerParent( _
    parent As ScrollViewer _
)

 Parameters

parent

The ScrollViewer that contains the diagram.

 Remarks

You must call this method in order to enable the "hooked headers" feature of the LaneGrid when the diagram is inside a ScrollViewer. It is called automatically when the diagram is placed inside a Ruler control.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace