Skip to main content

GanttTaskMappingInfo.Color Property

Specifies the name of the data field that contains information on the task’s color.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v22.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("Color")]
public string Color { get; set; }

Property Value

Type Default Description
String "Color"

A data field name.

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
    <Mappings>
        <Task Key="ID" ParentKey="ParentID" Title="Subject" Start="StartDate" End="EndDate" Progress="PercentComplete" Color="TaskColor" />
        //...
    </Mappings>
    ...
</dx:ASPxGantt>

Concept

Bind To Data

Online Demos

See Also