GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / TopLevelObject Property
In This Topic
    TopLevelObject Property
    In This Topic
    Gets the top-level object for this object.
    Syntax
    [Browsable(false)]
    public GoObject TopLevelObject {get;}
    Remarks
    If this object's IsTopLevel property is true, we just return this object. Otherwise we look up the Parent chain until we find the top-level object. This property does not depend on the object belonging to a layer.
    See Also