Skip to main content
.NET 6.0+

ObjectCreatingEventArgs.Cancel Property

Specifies whether or not an object creation should be canceled.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public bool Cancel { get; set; }

Property Value

Type Description
Boolean

true, if an object creation should be canceled, otherwise, false.

Remarks

Set the ObjectCreatingEventArgs.DisposeObjectSpaceOnCancel property to true to dispose an Object Space on canceling a new object creation.

See Also