menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramLayerBuilder

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

    Constructors

    DiagramLayerBuilder()

    Declaration
    public DiagramLayerBuilder()

    DiagramLayerBuilder(List<DiagramLayer>)

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

    Methods

    Add()

    Declaration
    public void Add()

    AddInfo(Object)

    Defines the description of the layer

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

    Id(String)

    Defines the id of a diagram layer

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

    LockObj(Boolean)

    Enables or disables editing objects in a particular layer

    Declaration
    public DiagramLayerBuilder LockObj(bool lockObj)
    Parameters
    Type Name Description
    System.Boolean lockObj
    Returns
    Type
    DiagramLayerBuilder

    Objects(String[])

    Defines the collection of the objects that are added to a particular layer

    Declaration
    public DiagramLayerBuilder Objects(string[] objects)
    Parameters
    Type Name Description
    System.String[] objects
    Returns
    Type
    DiagramLayerBuilder

    Visible(Boolean)

    Enables or disables the visibility of objects in a particular layer

    Declaration
    public DiagramLayerBuilder Visible(bool visible)
    Parameters
    Type Name Description
    System.Boolean visible
    Returns
    Type
    DiagramLayerBuilder

    ZIndex(Double)

    Defines the zOrder of the layer

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