Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Invalidate( _ ByVal reason As LayoutChange, _ ByVal part As Part _ ) |
C# | |
---|---|
public virtual void Invalidate( LayoutChange reason, Part part ) |
Parameters
- reason
- A LayoutChange hint describing what change may have made the layout invalid. If the value is LayoutChange.All, DiagramLayout.ValidLayout will be set to false unconditionally.
- part
- the Northwoods.GoXam.Part that has changed
This method may set DiagramLayout.ValidLayout to false, if the Northwoods.GoXam.Layout.DiagramLayout.Conditions are met. This method does not request a new layout -- call InvalidateLayout if you want to unconditionally set DiagramLayout.ValidLayout to false and ask the Northwoods.GoXam.LayoutManager to schedule perform layouts that are invalid.