LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
ObjectAdded Event
See Also 
Leadtools.Windows.Annotations Namespace > AnnContainer Class : ObjectAdded Event



Occurs when an object is added to the Children property of this container. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event ObjectAdded As EventHandler(Of AnnObjectCollectionEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As AnnContainer
Dim handler As EventHandler(Of AnnObjectCollectionEventArgs)
 
AddHandler instance.ObjectAdded, handler
C# 
public event EventHandler<AnnObjectCollectionEventArgs> ObjectAdded
C++/CLI 
public:
event EventHandler<AnnObjectCollectionEventArgs^>^ ObjectAdded

Event Data

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

PropertyDescription
Object The object that has been added or removed Supported in Silverlight, Windows Phone 7

Example

For C#/VB examples, refer to AnnObjectCollection.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

ObjectAdded requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.