Class StripLinesBuilder
Inheritance
System.Object
StripLinesBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class StripLinesBuilder
Constructors
StripLinesBuilder(List<GanttStripLine>)
It set the strip line for gantt
Declaration
public StripLinesBuilder(List<GanttStripLine> stripLinesOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttStripLine> | stripLinesOptions | It accepts the list of strip line value |
Fields
stripLinesOptions
Declaration
public List<GanttStripLine> stripLinesOptions
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttStripLine> |
Methods
Add()
It adds the stripline value
Declaration
public void Add()
Day(String)
It sets a day for stripline
Declaration
public StripLinesBuilder Day(string day)
Parameters
Type | Name | Description |
---|---|---|
System.String | day | It accepts the string value and show the strip line |
Returns
Type | Description |
---|---|
StripLinesBuilder | StripLinesBuilder |
Label(String)
It sets a label for stripline
Declaration
public StripLinesBuilder Label(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label | It accepts the string value and show label for stripline |
Returns
Type | Description |
---|---|
StripLinesBuilder | StripLinesBuilder |
LineColor(String)
It sets a label for stripline color
Declaration
public StripLinesBuilder LineColor(string lineColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | lineColor | It accepts the string value and set the stripline color |
Returns
Type | Description |
---|---|
StripLinesBuilder | StripLinesBuilder |
LineStyle(String)
It sets a label for stripline style
Declaration
public StripLinesBuilder LineStyle(string lineStyle)
Parameters
Type | Name | Description |
---|---|---|
System.String | lineStyle | It accepts the string value and set the stripline style |
Returns
Type | Description |
---|---|
StripLinesBuilder | StripLinesBuilder |
LineWidth(Int32)
It sets a width of strip line
Declaration
public StripLinesBuilder LineWidth(int lineWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | lineWidth | It accepts the string value and set the stripline width |
Returns
Type | Description |
---|---|
StripLinesBuilder | StripLinesBuilder |