QuickObjects.ObjectBase Send comments on this topic.
BeforeDelete Event
See Also  Example
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class : BeforeDelete Event
Occurs when an object is about to execute Delete command. This event can be used to cancel the command, by setting the Cancelled member of the event arguments.

Syntax

C# 
public event BeforeCommandEventHandler BeforeDelete()

Example

C#Copy Code
private void HandleBeforeDelete(object sender, BeforeCommandEventArgs e) 

    e.Cancelled = true; 

    

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also