Skip to main content
.NET Framework 4.5.2+

IModelNode.Index Property

Specifies the order index by which nodes are arranged.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v22.1.dll


int? Index { get; set; }

Property Value

Type Description

A nullable integer value specifying the order index by which nodes are arranged.


When modifying this property value via the Model Editor, note the specific meaning if the Index is zero. Initially, the Index is zero, and it means that the property value has not been changed, the node order is not customized, and nodes are arranged by default. However, if you set Index, for example, to “1”, then subsequently set it to “0”, then it will be recognized as a user difference (saved in the XAFML file), and will actually influence the node order.


You can rearrange the child nodes of a particular node via the ALT+UP ARROW and ALT+DOWN ARROW shortcuts in the Model Editor. Their indexes will be updated automatically to correspond the rearrangements

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


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