Class DiagramLayerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramLayerBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.AspNetMvc.Diagram.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 |