Skip to main content

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

Gantt add new row animation

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