Property Deleted
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
Deleted
Get/Set a property that marks the object as Deleted or not.
public virtual bool Deleted { get; set; }
Property Value
Remarks
Deleted objects are not parsed by the Serializer so are not saved. An object can be deleted only if it is not referenced by other objects. Default value false. Raizes the OnBeforeModifyObject event. Raizes the OnAfterModifyObject event. Raizes the OnEraseObject event in case the value of the property is set to true.
Exceptions
- CannotDeleteException
Thrown when the object is referenced and cannot be deleted.