Class DiagramPhaseBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramPhaseBuilder
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 DiagramPhaseBuilder : ControlBuilder
Constructors
DiagramPhaseBuilder()
Declaration
public DiagramPhaseBuilder()
DiagramPhaseBuilder(List<DiagramPhase>)
Declaration
public DiagramPhaseBuilder(List<DiagramPhase> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<DiagramPhase> | collection |
Methods
Add()
Declaration
public void Add()
AddInfo(Object)
Allows the user to save custom information about phases. Example: addInfo: {'phase': 'phase 1 info' }
Declaration
public DiagramPhaseBuilder AddInfo(object addInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | addInfo |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Header(DiagramHeader)
Sets the header collection of the phase
Declaration
public DiagramPhaseBuilder Header(DiagramHeader header)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramHeader | header |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Header(Action<DiagramHeaderBuilder>)
Declaration
public DiagramPhaseBuilder Header(Action<DiagramHeaderBuilder> header)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<DiagramHeaderBuilder> | header |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Id(String)
Sets the id of the phase
Declaration
public DiagramPhaseBuilder Id(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Offset(Double)
Sets the offset of the phase
Declaration
public DiagramPhaseBuilder Offset(double offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | offset |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Style(DiagramShapeStyle)
Sets the style of the phase
Declaration
public DiagramPhaseBuilder Style(DiagramShapeStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramShapeStyle | style |
Returns
| Type |
|---|
| DiagramPhaseBuilder |
Style(Action<DiagramShapeStyleBuilder>)
Declaration
public DiagramPhaseBuilder Style(Action<DiagramShapeStyleBuilder> style)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<DiagramShapeStyleBuilder> | style |
Returns
| Type |
|---|
| DiagramPhaseBuilder |