GoDiagram Web Reference
Parent Property (GoObject)

Gets the parent group for this object.
Syntax
'Declaration
 
<DescriptionAttribute("The parent GoGroup for this object, or null if top-level.")>
<CategoryAttribute("Ownership")>
Public ReadOnly Property Parent As GoGroup
[DescriptionAttribute("The parent GoGroup for this object, or null if top-level.")]
[CategoryAttribute("Ownership")]
public GoGroup Parent {get;}
Remarks
If this object belongs to a GoGroup, we return that group. Otherwise we return null. You cannot set this property--call GoGroup.Add instead. This property does not depend on the object belonging to a layer. CopyObject will not set this property directly, nor will it automatically add the copied object to some group to set this property indirectly. The caller of CopyObject is responsible for deciding if and where to add the newly copied object to a GoGroup.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members
OnParentChanged Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback