Northwoods.GoWPF 1.3.5 Assembly
OnInitialLayoutCompleted Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : OnInitialLayoutCompleted Method

This overridable method is called after the first layout has been performed and the DiagramPanel.DiagramBounds has been computed.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnInitialLayoutCompleted() 
C# 
protected virtual void OnInitialLayoutCompleted()

Remarks

This uses the InitialStretch, InitialScale, InitialPosition, InitialDiagramBoundsSpot, InitialPanelSpot properties to set the DiagramPanel.Scale and/or DiagramPanel.Position properties for the initial appearance of the diagram.

If InitialCenteredNodeData has a non-null value, this calls DiagramPanel.CenterPart to try to center the Node that is bound to that data.

It then raises the InitialLayoutCompleted event. It also clears out any Northwoods.GoXam.Model.UndoManager's recorded changes.

Requirements

See Also

© 2012 All Rights Reserved.