BeforeAddElement Event

Summary

Occurs when before an element is added to this object.

Syntax
C#
VB
C++
public event EventHandler<BeforeAddElementEventArgs> BeforeAddElement 
Public Event BeforeAddElement As EventHandler(Of BeforeAddElementEventArgs) 
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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly