Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListColumn.RowIndex Property

Gets or sets the vertical position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[Browsable(false)]
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int RowIndex { get; set; }

#Property Value

Type Default Description
Int32 0

The zero-based index that specifies the band row where the column header is displayed.

#Remarks

The RowIndex property is in effect only for banded columns.

This property specifies not only the vertical position of the column header within the band, but also the vertical position of the column cells within rows.

If you set the RowIndex to a negative value, this index will be automatically set to 0.

See Also