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

part
Decide whether a given Northwoods.GoXam.Part should participate in this layout.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CanLayoutPart( _
   ByVal part As Part _
) As Boolean
C# 
public virtual bool CanLayoutPart( 
   Part part
)

Parameters

part

Return Value

Typically this should return false if the part is not visible, if the part is in a temporary Northwoods.GoXam.Layer, or if the part's Part.LayoutId is "None". This should return true if the part's LayoutId is "All" or if it matches the Id of this layout.

Requirements

See Also

© 2010 All Rights Reserved.