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

Declaration

[DXCategory("Data")]
[DefaultValue(null)]
[XtraSerializableProperty]
public TreeListColumn TreeViewColumn { get; set; }
<DXCategory("Data")>
<DefaultValue(Nothing)>
<XtraSerializableProperty>
Public Property TreeViewColumn As TreeListColumn

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