menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramLaneBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramLaneBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramLaneBuilder
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramLaneBuilder : ControlBuilder

    Constructors

    DiagramLaneBuilder()

    Declaration
    public DiagramLaneBuilder()

    DiagramLaneBuilder(List<DiagramLane>)

    Declaration
    public DiagramLaneBuilder(List<DiagramLane> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DiagramLane> collection

    Methods

    Add()

    Declaration
    public void Add()

    AddInfo(Object)

    Allows the user to save custom information about lanes. Example: addInfo: {'lane': 'lane 1 info' }

    Declaration
    public DiagramLaneBuilder AddInfo(object addInfo)
    Parameters
    Type Name Description
    System.Object addInfo
    Returns
    Type
    DiagramLaneBuilder

    CanMove(Boolean)

    Defines when the lane to be interchanged or not

    Declaration
    public DiagramLaneBuilder CanMove(bool canMove)
    Parameters
    Type Name Description
    System.Boolean canMove
    Returns
    Type
    DiagramLaneBuilder

    Children(Object)

    Defines the collection of child nodes

    Declaration
    public DiagramLaneBuilder Children(object children)
    Parameters
    Type Name Description
    System.Object children
    Returns
    Type
    DiagramLaneBuilder

    Header(DiagramHeader)

    Defines the collection of header in the lane.

    Declaration
    public DiagramLaneBuilder Header(DiagramHeader header)
    Parameters
    Type Name Description
    DiagramHeader header
    Returns
    Type
    DiagramLaneBuilder

    Header(Action<DiagramHeaderBuilder>)

    Declaration
    public DiagramLaneBuilder Header(Action<DiagramHeaderBuilder> header)
    Parameters
    Type Name Description
    System.Action<DiagramHeaderBuilder> header
    Returns
    Type
    DiagramLaneBuilder

    Height(Double)

    Defines the height of the lane

    Declaration
    public DiagramLaneBuilder Height(double height)
    Parameters
    Type Name Description
    System.Double height
    Returns
    Type
    DiagramLaneBuilder

    Id(String)

    Sets the id of the lane

    Declaration
    public DiagramLaneBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type
    DiagramLaneBuilder

    Style(DiagramShapeStyle)

    Sets style of the lane

    Declaration
    public DiagramLaneBuilder Style(DiagramShapeStyle style)
    Parameters
    Type Name Description
    DiagramShapeStyle style
    Returns
    Type
    DiagramLaneBuilder

    Style(Action<DiagramShapeStyleBuilder>)

    Declaration
    public DiagramLaneBuilder Style(Action<DiagramShapeStyleBuilder> style)
    Parameters
    Type Name Description
    System.Action<DiagramShapeStyleBuilder> style
    Returns
    Type
    DiagramLaneBuilder

    Width(Double)

    Defines the height of the lane

    Declaration
    public DiagramLaneBuilder Width(double width)
    Parameters
    Type Name Description
    System.Double width
    Returns
    Type
    DiagramLaneBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved