GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayer Class / MoveBefore Method
the object in this layer that moving will be placed before; if null, moving will be painted as the first (i.e. rear-most) object in this layer.
the top-level object in this layer whose Z-order will be changed
In This Topic
    MoveBefore Method (GoLayer)
    In This Topic
    Change the Z-order of an object in this layer by moving it to be before (i.e. behind) another object.
    Syntax
    public void MoveBefore( 
       GoObject dest,
       GoObject moving
    )

    Parameters

    dest
    the object in this layer that moving will be placed before; if null, moving will be painted as the first (i.e. rear-most) object in this layer.
    moving
    the top-level object in this layer whose Z-order will be changed
    Remarks
    This method signals an exception if moving is not a top-level object in this layer, if dest is not null and is not in this layer, or if you are trying to move an object before (i.e. behind) itself.
    See Also