GanttViewSettings.TaskTitlePosition Property
Specifies a task’s title position.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v20.2.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:
Library | Object Type | Path to TaskTitlePosition |
---|---|---|
ASP.NET Controls and MVC Extensions | ASPxGantt |
|
ASP.NET MVC Extensions | GanttSettings |
|
MVCxGantt |
|
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>
Concept
See Also