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
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. |