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.
public virtual void InvalidateLayout( Part p, LayoutChange change )
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.