Spread Windows Forms 8.0 Product Documentation
Elements.ElementAddNotifyEventArgs Constructor
Example 


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
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Elements.ElementAddNotifyEventArgs Class
Elements.ElementAddNotifyEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.