Leadtools.Dicom.Common.Editing Namespace > DicomEditableObject Class : BeforeAddElement Event |
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
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.
Property | Description |
---|---|
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. |
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