menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramLayerBuilder - API Reference

    Show / Hide Table of Contents

    Class DiagramLayerBuilder

    Inheritance
    System.Object
    ControlBuilder
    DiagramLayerBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    DiagramLayerBuilder

    ZIndex(Double)

    Defines the zOrder of the layer

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