Formatting the TreeView Control

The TreeView control supports an abundance of properties that have an effect on how the TreeView is formatted.

Following are some of the more useful properties of a TreeView control, which modify its appearance (this is not a complete list):

CollapseImageToolTip Enables you to specify the title attribute for the collapse image.

CollapseImageUrl Enables you to specify a URL to an image for the collapse image.

ExpandDepth Enables you to specify the number of TreeNode levels to display initially.

ExpandImageToolTip Enables you to specify the title attribute for the expand image.

ExpandImageUrl Enables you to specify the URL to an image for the expand image.

ImageSet Enables you to specify a set of ...

Get ASP.NET 4 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.