Skip to main content

ExpressionBindingDescription.Position Property

Returns a node index at which the treeview displays the property in the Property window.

Namespace: DevExpress.XtraReports.Expressions

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public int Position { get; }

Property Value

Type Description
Int32

An integer value that is the node index in the treeview.

Remarks

The Position value has effect only for the Classic View of the Properties window.

Choose a Position value when you decide to show the property in the Properties window’s Expression tab. The Expression tab contains a treeview that displays properties grouped by categories. Each property has its own node index composed of a category index and a position within the category. Built-in properties have hard-coded node indexes, and you can specify an index that is greater than all node indexes, or falls in the range between the existing indexes.

In the following image, the Appearance section’s node index is 200, and the Layout section is 300. The Position value for the custom Angle property in the New Category is set to 251:

For a sample code, review the following help topic: ExpressionBindingDescription.

See Also