TreeViewImageSet Enumeration
Represents an image set to use in the TreeView control.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| Custom | A user-defined set of images. This is the default value of the ImageSet. | |
| XPFileExplorer | A predefined set of Windows Explorer for Microsoft Windows XP–styled images. | |
| Msdn | A predefined set of Microsoft MSDN developer program–styled images. | |
| WindowsHelp | A predefined set of Microsoft Windows Help–styled images. | |
| Simple | A predefined set of simple-shaped outline images. | |
| Simple2 | A predefined set of filled simple-shaped images. | |
| BulletedList | A predefined set of diamond-shaped bullet images. | |
| BulletedList2 | A predefined set of square-shaped bullet images. | |
| BulletedList3 | A predefined set of sectioned, diamond shaped bullet images. | |
| BulletedList4 | A predefined set of alternate sectioned, diamond shaped bullet images in sizes that vary by level. | |
| Arrows | A predefined set of arrow images. | |
| News | A predefined set of newsgroup-styled images. | |
| Contacts | A predefined set of MSN Messenger–styled images. | |
| Inbox | A predefined set of e-mail–styled images. | |
| Events | A predefined set of event log–styled images. | |
| Faq | A predefined set of FAQ-styled images. |
The TreeViewImageSet enumeration is used to represent the different sets of images that can be displayed in the TreeView control. You can select from a predefined set of images or create your own custom set by setting the ImageSet property to the Custom value. When defining a custom set of images, you should specify an image for each of the properties in the following table. Otherwise, the default image for that property is used.
Property | Description |
|---|---|
The URL to a custom image for the collapsed node indicator. | |
The URL to a custom image for the expanded node indicator. | |
The URL to a folder that contains custom images for lines-connecting nodes. | |
The URL to a custom image for the non-expanding node indicator. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.