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





Glossary Item Box

Gets or sets the children of this object.

Syntax

Visual Basic (Declaration) 
Property Children As System.Collections.ArrayList
Visual Basic (Usage)Copy Code
Dim instance As IDrawing
Dim value As System.Collections.ArrayList
 
instance.Children = value
 
value = instance.Children
C# 
System.Collections.ArrayList Children {get; set;}
JScript 
function get,set Children : System.Collections.ArrayList
Managed Extensions for C++ 
__property System.Collections.ArrayList* get_Children();
__property void set_Children( 
   System.Collections.ArrayList* value
);
C++/CLI 
property System.Collections.ArrayList^ Children {
   System.Collections.ArrayList^ get();
   void set (    System.Collections.ArrayList^ value);
}

Property Value

The children.

Remarks

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.

Requirements

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.