Spread Windows Forms 10.0 Product Documentation
Elements.ElementAddNotifyEventArgs Constructor
Example 


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Elements.ElementAddNotifyEventArgs Class
Elements.ElementAddNotifyEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.