Class DiagramLayerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramLayerBuilder
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
AddInfo(Object)
Defines the description of the layer
Declaration
public DiagramLayerBuilder AddInfo(object addInfo)
Parameters
Type |
Name |
Description |
System.Object |
addInfo |
|
Returns
Id(String)
Defines the id of a diagram layer
Declaration
public DiagramLayerBuilder Id(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
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
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
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
ZIndex(Double)
Defines the zOrder of the layer
Declaration
public DiagramLayerBuilder ZIndex(double zIndex)
Parameters
Type |
Name |
Description |
System.Double |
zIndex |
|
Returns