Northwoods.GoSilverlight 1.1.3 Assembly
CanLayoutPart Method
See Also  Send Feedback
Northwoods.GoXam Namespace > LayoutManager Class : CanLayoutPart Method

p
a Node or Link
lay
the layout that might be responsible for positioning the part
This predicate decides whether a Part should participate in an Northwoods.GoXam.Layout.IDiagramLayout's layout.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CanLayoutPart( _
   ByVal p As Part, _
   ByVal lay As IDiagramLayout _
) As Boolean
C# 
public virtual bool CanLayoutPart( 
   Part p,
   IDiagramLayout lay
)

Parameters

p
a Node or Link
lay
the layout that might be responsible for positioning the part

Return Value

True if the part is visible and if the part's Part.LayoutId is not "None" and is either "All" or the same value as the layout's Northwoods.GoXam.Layout.IDiagramLayout.Id. False for all Adornments and for all Nodes that are Node.IsLinkLabel, and for all Groups that have no Group.Layout.

See Also