menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IZOrderContainer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IZOrderContainer

    Z Order Container.

    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public interface IZOrderContainer

    Properties

    ZOrderDepth

    Gets number of items in the Z-order for this container.

    Declaration
    int ZOrderDepth { get; }
    Property Value
    Type
    System.Int32

    Methods

    BringForward(Node)

    Visually brings the selected shapes one step forward over the nearest overlapping shape based on z-order value.

    Declaration
    int BringForward(Node node)
    Parameters
    Type Name Description
    Node node

    Node to move forward.

    Returns
    Type Description
    System.Int32

    Previous Z-order position.

    BringToFront(Node)

    Visually brings the selected shapes front over all the other overlapped shapes based on z-order value.

    Declaration
    int BringToFront(Node node)
    Parameters
    Type Name Description
    Node node

    Node to bring to the front.

    Returns
    Type Description
    System.Int32

    Previous Z-order position.

    GetZOrder(Node)

    Returns the Z-order value of the given node.

    Declaration
    int GetZOrder(Node node)
    Parameters
    Type Name Description
    Node node

    Node to get Z-order for.

    Returns
    Type Description
    System.Int32

    Zero-based Z-order value of the node or -1 if the node does not exist.

    SendBackward(Node)

    Visually brings the selected shapes one step backward over the nearest overlapping shape based on z-order value.

    Declaration
    int SendBackward(Node node)
    Parameters
    Type Name Description
    Node node

    Node to move backward.

    Returns
    Type Description
    System.Int32

    Previous Z-order position.

    SendToBack(Node)

    Visually brings the selected shapes back over all the other overlapped shapes based on z-order value.

    Declaration
    int SendToBack(Node node)
    Parameters
    Type Name Description
    Node node

    Node to send to the back.

    Returns
    Type Description
    System.Int32

    Previous Z-order position.

    SetZOrder(Node, Int32)

    Sets the Z-order of the given node.

    Declaration
    int SetZOrder(Node node, int zOrder)
    Parameters
    Type Name Description
    Node node

    Node to set Z-order for.

    System.Int32 zOrder

    Zero-based Z-order value.

    Returns
    Type Description
    System.Int32

    The z-order.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved