GoXam for WPF v3
InvalidateLayout Method (LayoutManager)
Northwoods.GoXam Namespace > LayoutManager Class : InvalidateLayout Method
must be a Part
a hint on the reason for the need for a new layout; this is used to decide whether a layout is really needed.
Declare that the Northwoods.GoXam.Layout.IDiagramLayout including a given Part is now invalid and may need to be performed again soon.
Syntax
public virtual void InvalidateLayout( 
   Part p,
   LayoutChange change
)

Parameters

p
must be a Part
change
a hint on the reason for the need for a new layout; this is used to decide whether a layout is really needed.
Remarks

This is called by the diagram's PartManager each time a node or link or group-membership is added or removed. It calls Northwoods.GoXam.Layout.IDiagramLayout.Invalidate to let the part's responsible Northwoods.GoXam.Layout.IDiagramLayout know that there's been a change and that the layout may need to be performed again, depending on the layout's Northwoods.GoXam.Layout.DiagramLayout.Conditions.

This method ignores parts in temporary layers. This method also does nothing if SkipsInvalidate is true or if the Model's Northwoods.GoXam.Model.IDiagramModel.SkipsUndoManager property is true.

See Also

Reference

LayoutManager Class
LayoutManager Members