Back to Devexpress

GanttView.AllowDrawNewTask Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-39e66472.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public bool? AllowDrawNewTask { get; set; }
vb
Public Property AllowDrawNewTask As Boolean?

Property Value

TypeDescription
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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace