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

TreeList.TreeViewColumn Property

Gets or sets the only column whose values are displayed by the control in TreeView visual style.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[DefaultValue(null)]
[DXCategory("Data")]
public TreeListColumn TreeViewColumn { get; set; }

#Property Value

Type Default Description
TreeListColumn null

The only column whose values are displayed by the control in TreeView visual style.

#Remarks

The TreeView visual style imitates the appearance of the standard TreeView control. To display a single-column of data in the TreeView visual style, leave the TreeList.ViewStyle property set to Default (or set it explicitly to TreeView) and then specify the display column with the TreeViewColumn or the TreeList.TreeViewFieldName property. The TreeList control will only display a single column specified by the TreeViewColumn/TreeViewFieldName property.

See TreeView Style to learn more.

See Also