Back to Devexpress

TreeList.TreeViewColumn Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-06f0225d.md

latest2.3 KB
Original Source

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.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
TreeListColumnnull

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

TreeViewFieldName

TreeView Style

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace