C#
VB
C++
Occurs when before an element is added to this object.
public event EventHandler<BeforeAddElementEventArgs> BeforeAddElement
Public Event BeforeAddElement As EventHandler(Of BeforeAddElementEventArgs)
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. |
For an example before to DicomEditableObject
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET