Spread Windows Forms 10.0 Product Documentation
Elements.ElementDeletingNotifyEventArgs Constructor
Example 


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
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.ElementDeletingNotifyEventArgs Class
Elements.ElementDeletingNotifyEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.