Skip to main content
A newer version of this page is available. .

TreeListState Enum

Contains values indicating all the available states for the Tree List.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

public enum TreeListState

Members

Name Description
Regular

The Tree List is in its normal state. No specific action is being performed by an end-user.

ColumnDragging

A column’s header is being dragged. The column’s TreeListOptionsColumn.AllowMove option must be enabled to allow column header dragging.

ColumnSizing

A column’s right edge is being dragged to change the column’s width. The column’s TreeListOptionsColumn.AllowSize option must be enabled to allow such resizing.

ColumnPressed

A column’s header is pressed.

ColumnButtonPressed

The column button is clicked.

Editing

A cell editor is currently active.

OuterDragging

An external object, not one of the Tree List’s elements, is being dragged from outside over the Tree List control.

NodePressed

A node is currently pressed.

NodeDragging

A node is being dragged. See TreeListOptionsDragAndDrop.DragNodesMode.

NodeSizing

A node is being resized by an end-user. This implies that the node’s edge is being dragged. This operation is only available for nodes whose TreeListOptionsBehavior.ResizeNodes option is enabled.

You can prevent the node from being resized by enabling the TreeListOptionsBehavior.AutoNodeHeight option.

Design

The Tree List is currently in design mode.

MultiSelection

Multiple nodes are being selected using drag and drop. The TreeListOptionsSelection.MultiSelect option must be set to true to enable this feature.

IncrementalSearch

An incremental search is being performed.

BandPressed

A band’s header is pressed.

BandDragging

A band’s header is being dragged. The band’s OptionsBand.AllowMove option must be enabled to allow a band header to be dragged.

BandSizing

A band’s right edge is being dragged to change the band’s width. The band’s OptionsBand.AllowSize option must be enabled to allow such resizing.

BandButtonPressed

The band button is clicked.

CellSelection

Multiple cells are being selected.

Related API Members

The following properties accept/return TreeListState values:

Remarks

Values listed by this enumeration are returned by the TreeList.State property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeListState enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also