GanttViewSettings.ShowResources Property

Specifies whether to display task resources.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v20.1.dll

Declaration

[DefaultValue(true)]
public bool ShowResources { get; set; }
<DefaultValue(True)>
Public Property ShowResources As Boolean

Property Value

Type Default Description
Boolean

true

true, to display task resources; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowResources
ASPxGantt
.SettingsGanttView.ShowResources
GanttSettings
.SettingsGanttView.ShowResources
MVCxGantt
.SettingsGanttView.ShowResources

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    <Columns>
        <dx:GanttTextColumn FieldName="Subject" />
        <dx:GanttDateTimeColumn FieldName="StartDate" DisplayFormat="MM\/dd\/yyyy" />
        <dx:GanttDateTimeColumn FieldName="EndDate" DisplayFormat="MM\/dd\/yyyy" />
    </Columns>
    <SettingsGanttView ShowResources="false" />
</dx:ASPxGantt>

Concept

Gantt Control

Online Demos

See Also