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.AllowDrawNewTask Property

Gets or sets whether an end user can add a new task by drawing the task in the Gantt area‘s new item row. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public bool? AllowDrawNewTask { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true, if drawing new tasks is allowed; otherwise, false.

#Remarks

When the GanttView.NewItemRowPosition property is set to Bottom,and the AllowDrawNewTask property is set to true, end users can draw new tasks without the need to enter start and end dates.

When an end user starts drawing a new task, the BeginNewTaskDraw event fires.

Note

If the AllowEditConnectors property is not specified, its value is equal to the AllowEditing property value.

See Also