Back to Devexpress

NewTaskDrawnEventArgs.Cancel Property

wpf-devexpress-dot-xpf-dot-gantt-dot-newtaskdrawneventargs-bdaa487d.md

latest1.1 KB
Original Source

NewTaskDrawnEventArgs.Cancel Property

Gets or sets whether the applied changes must be canceled.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

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

Property Value

TypeDescription
Boolean

true , to undo the applied changes; otherwise, false. The default is false.

|

Remarks

Set the Cancel property to true to delete the newly drawn task.

See Also

NewTaskDrawnEventArgs Class

NewTaskDrawnEventArgs Members

DevExpress.Xpf.Gantt Namespace