GanttStripLineBuilder.Title(String) Method
Specifies the strip line's title. Mirrors the client-side title option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public GanttStripLineBuilder Title(
string value
)
Parameters
Name | Type | Description |
---|---|---|
value | String | The title. |
Returns
Type | Description |
---|---|
GanttStripLineBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Gantt()
.StripLines(stripLines =>
stripLines.Add()
.Start(new DateTime(DateTime.Now)
.Title("CurrentTime");
stripLines.Add()
.Start(new Date(1920, 9, 10))
.End(new Date(1920, 11, 1))
.Title("Final Stage");
// ...
)
)
See Also