System.Web.UI.WebControls.TreeViewImageSet Enumeration

Represents an image set to use in the System.Web.UI.WebControls.TreeView control.

Syntax

public enum TreeViewImageSet

Remarks

The System.Web.UI.WebControls.TreeViewImageSet enumeration is used to represent the different sets of images that can be displayed in the System.Web.UI.WebControls.TreeView control. You can select from a predefined set of images or create your own custom set by setting the TreeView.ImageSet property to the TreeViewImageSet.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.

TreeView.CollapseImageUrl

The URL to a custom image for the collapsed node indicator.

TreeView.ExpandImageUrl

The URL to a custom image for the expanded node indicator.

TreeView.LineImagesFolder

The URL to a folder that contains custom images for lines-connecting nodes.

TreeView.NoExpandImageUrl

The URL to a custom image for the non-expanding node indicator.

Members

Member NameDescription
Arrows

A predefined set of arrow 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.

Contacts

A predefined set of MSN Messenger–styled images.

Custom

A user-defined set of images. This is the default value of the TreeView.ImageSet.

Events

A predefined set of event log–styled images.

Faq

A predefined set of FAQ-styled images.

Inbox

A predefined set of e-mail–styled images.

Msdn

A predefined set of Microsoft MSDN developer program–styled images.

News

A predefined set of newsgroup-styled images.

Simple

A predefined set of simple-shaped outline images.

Simple2

A predefined set of filled simple-shaped images.

WindowsHelp

A predefined set of Microsoft Windows Help–styled images.

XPFileExplorer

A predefined set of Windows Explorer for Microsoft Windows XP–styled images.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0