C1TreeView Structure

The C1TreeView class is a StackPanel with two elements:

      A header that represents the actual node, with a button to collapse and expand the children.

      A body that is another StackPanel and contains other nodes.

You can add images to a node by grabbing its first child (the header), casting that to a StackPanel, and inserting an image element at whatever position you prefer. For example:

      Visual Basic

      C#


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.