Spread Windows Forms 12.0 Product Documentation
Elements.ElementAddNotifyEventArgs Constructor
Example 


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

Parameters

element
Object element
Example
This example uses the ElementAddNotify 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.ElementAddNotifyEventArgs Class
Elements.ElementAddNotifyEventArgs Members