Skip to main content
A newer version of this page is available. .

GanttViewSettings.TaskTitlePosition Property

Specifies a task’s title position.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

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:

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

Remarks

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

Example

<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>

Concept

Gantt Control

Online Demos

See Also