Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnInitialLayoutCompleted() |
C# | |
---|---|
protected virtual void OnInitialLayoutCompleted() |
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.