StripLine.CssClass Property
Specifies the name of the cascading style sheet (CSS) class associated with a strip line.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | The name of the CSS class. |
Remarks
Web Forms:
<style>
.line-1 {
border-left: 1px solid red;
}
</style>
<dx:ASPxGantt ID="Gantt" runat="server"...>
...
<SettingsStripLine>
<StripLines>
<dx:StripLine Title="Start Time" Start="2019-02-21T08:00:00.000Z" CssClass="line-1"/>
<StripLines>
</SettingsStripLine>
</dx:ASPxGantt>
MVC:
<style>
.line-1 {
border-left: 1px solid red;
}
</style>
settings.SettingsStripLine.StripLines.Add(new StripLine() {
Title = "Final Period",
Start = new DateTime(2019, 07, 02),
CssClass = "line-1"
});
Examples
See Also