Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttView.TaskContentPosition Property

Gets or sets the position of task content. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public TaskContentPosition TaskContentPosition { get; set; }

#Property Value

Type Description
TaskContentPosition

A TaskContentPosition enumeration value.

Available values:

Name Description
Left

The task content is placed to the left from the task.

Top

The task content is placed to the top from the task.

Right

The task content is placed to the right from the task.

Bottom

The task content is placed to the bottom from the task.

#Remarks

You can display custom task content in the Gantt area next to tasks. Use the TaskContentPosition property to specify the task content position. The TaskContentTemplate property allows you to specify the template that defines the task content presentation.

See Also