Skip to main content

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.1.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