ImageMan.Net Version 3 Summer 2012 Release
Children Property
See Also  Send Feedback
DTI.ImageMan Namespace > DrawingBase Class : Children Property

Glossary Item Box

Gets or sets the children of this object.


Visual Basic (Declaration) 
Public Overridable Property Children As System.Collections.ArrayList
Visual Basic (Usage)Copy Code
Dim instance As DrawingBase
Dim value As System.Collections.ArrayList
instance.Children = value
value = instance.Children
public virtual System.Collections.ArrayList Children {get; set;}
public function get,set Children : System.Collections.ArrayList
Managed Extensions for C++ 
public: __property virtual System.Collections.ArrayList* get_Children();
public: __property virtual void set_Children( 
   System.Collections.ArrayList* value
virtual property System.Collections.ArrayList^ Children {
   System.Collections.ArrayList^ get();
   void set (    System.Collections.ArrayList^ value);

Property Value

The children.


If the children implement the IDrawing interface then by default most calls will be sent to the child and it's children as well.

IMPORTANT: This could cause issues with recursion, so make sure no child claims a parent as a child.

The calls that are recursive are:

The call Enabled is a special case. If Enabled is set to false. Then no other mouse events or detection for MyPoint or MyHandle will be made. However, the children will still draw correctly.


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

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.