Spread Windows Forms 12.0 Product Documentation
Elements.ElementDeletingNotifyEventArgs Constructor
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > Elements.ElementDeletingNotifyEventArgs Class : Elements.ElementDeletingNotifyEventArgs Constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal element As Object _
)
'Usage
 
Dim element As Object
 
Dim instance As New Elements.ElementDeletingNotifyEventArgs(element)
public Elements.ElementDeletingNotifyEventArgs( 
   object element
)

Parameters

element
Example
This example uses the ElementDeletingNotify event.
sheetView.DrawingContainer.ContainedObjects.ElementAddNotify += new Elements.ElementAddNotifyEventHandler(ContainedObjects_ElementAddNotify);
sheetView.DrawingContainer.ContainedObjects.ElementDeletingNotify += new Elements.ElementDeletingNotifyEventHandler(ContainedObjects_ElementDeletingNotify);
AddHandler sheetView.DrawingContainer.ContainedObjects.ElementAddNotify, AddressOf AddShapeNotifier
AddHandler sheetView.DrawingContainer.ContainedObjects.ElementDeletingNotify, AddressOf DeleteShapeNotifier
See Also

Reference

Elements.ElementDeletingNotifyEventArgs Class
Elements.ElementDeletingNotifyEventArgs Members