Leadtools.Dicom.Common
LEAD Technologies, Inc

BeforeAddElement Event (DicomEditableObject)






Occurs when before an element is added to this object.
Syntax
public event EventHandler<BeforeAddElementEventArgs> BeforeAddElement
'Declaration
 
Public Event BeforeAddElement As EventHandler(Of BeforeAddElementEventArgs)
'Usage
 
Dim instance As DicomEditableObject
Dim handler As EventHandler(Of BeforeAddElementEventArgs)
 
AddHandler instance.BeforeAddElement, handler
public event EventHandler<BeforeAddElementEventArgs> BeforeAddElement
add_BeforeAddElement(function(sender, e))
remove_BeforeAddElement(function(sender, e))

public:
event EventHandler<BeforeAddElementEventArgs^>^ BeforeAddElement
Event Data

The event handler receives an argument of type BeforeAddElementEventArgs containing data related to this event. The following BeforeAddElementEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs)Gets or sets a value indicating whether the event should be canceled.
Element The dynamic property that represents the element.
Example
For an example before to DicomEditableObject
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomEditableObject Class
DicomEditableObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features