Northwoods.GoSilverlight 1.2.2 Assembly
Invalidate Method
See Also  Send Feedback
Northwoods.GoXam.Layout Namespace > DiagramLayout Class : Invalidate Method

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
Declare that this layout might no longer be valid, depending on the change and the Northwoods.GoXam.Layout.DiagramLayout.Conditions.

Syntax

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

Remarks

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.

Requirements

See Also

© 2010 All Rights Reserved.