Group.Children

This page contains reference documentation for the Children member. This member is an array of the group's children.

Declaration

Node[] Children;

Examples

Examples are as follows:

int childCount = parent.ChildCount;
for( int i = 0; i < childCount; ++i )
{
   Node child = parent.Children[i];
   if( child.IsDerived( Group ) )
   {
      Group testCollNode = (Group)child;
      if( testCollNode.ChildCount == 1 && testCollNode.Children[0].IsDerived( CollectionNode ) )
      {
         SetCollectionVisibility( (CollectionNode)testCollNode.Children[0], false );
      }
   }
}

Working Sample Code

For sample code: