A newer version of this page is available. Switch to the current version.

GanttViewSettings.TaskTitlePosition Property

Specifies a task’s title position.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(GanttTaskTitlePosition.Inside)]
public GanttTaskTitlePosition TaskTitlePosition { get; set; }

Property Value

Type Default Description
GanttTaskTitlePosition

Inside

One of the enumeration values.

Available values:

Name Description
Inside

Displays a title inside a task.

Outside

Displays a title outside a task.

None

Does not display a title.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TaskTitlePosition
ASP.NET MVC Extensions GanttSettings
.SettingsGanttView.TaskTitlePosition
MVCxGantt
.SettingsGanttView.TaskTitlePosition
ASP.NET Web Forms Controls ASPxGantt
.SettingsGanttView.TaskTitlePosition

Remarks

Use the TaskTitlePosition property to specify a task’s title position.

<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 TaskTitlePosition="Outside" />
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Chart Appearance

Run Demo: (MVC) Gantt Chart Appearance

View Example: How to edit Gantt data

Concept

See Also