GoXam for WPF v3
LayoutDiagram(LayoutInitial,Boolean) Method
Northwoods.GoXam Namespace > LayoutManager Class > LayoutDiagram Method : LayoutDiagram(LayoutInitial,Boolean) Method
If the value is LayoutInitial.InvalidateAll, all Northwoods.GoXam.Layout.IDiagramLayouts will be declared invalid, and they will all be performed at the time given by the immediate argument. If the value is LayoutInitial.InvalidateIfNodesUnlocated, Northwoods.GoXam.Layout.IDiagramLayouts will be declared invalid only if they are responsible for Nodes that do not have a Location, because their X and/or Y values are Double.NaN. If the value is LayoutInitial.ValidateAll, all Northwoods.GoXam.Layout.IDiagramLayouts will be declared valid, and no layout will occur until after something else happens to invalidate a layout. If the value is LayoutInitial.None, no layout validity is changed -- any invalid layouts will be performed at the specified time.
If true this method performs an immediate layout. If false this method schedules a layout to occur soon.
Request a re-layout of all invalidated layouts in this diagram.
Syntax
public virtual void LayoutDiagram( 
   LayoutInitial init,
   bool immediate
)

Parameters

init
If the value is LayoutInitial.InvalidateAll, all Northwoods.GoXam.Layout.IDiagramLayouts will be declared invalid, and they will all be performed at the time given by the immediate argument. If the value is LayoutInitial.InvalidateIfNodesUnlocated, Northwoods.GoXam.Layout.IDiagramLayouts will be declared invalid only if they are responsible for Nodes that do not have a Location, because their X and/or Y values are Double.NaN. If the value is LayoutInitial.ValidateAll, all Northwoods.GoXam.Layout.IDiagramLayouts will be declared valid, and no layout will occur until after something else happens to invalidate a layout. If the value is LayoutInitial.None, no layout validity is changed -- any invalid layouts will be performed at the specified time.
immediate
If true this method performs an immediate layout. If false this method schedules a layout to occur soon.
Remarks
The value for the init parameter usually comes from the Initial property. This method changes the validity of layouts by setting the Northwoods.GoXam.Layout.IDiagramLayout.ValidLayout property.
See Also

Reference

LayoutManager Class
LayoutManager Members
Overload List