Skip to main content
A newer version of this page is available. .

TreeList.TreeViewFieldName Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[DXCategory("Data")]
[DefaultValue("")]
[XtraSerializableProperty]
public string TreeViewFieldName { get; set; }

Property Value

Type Default Description
String String.Empty

The name of the field whose values are displayed by the control in TreeView visual style.

Remarks

The TreeViewFieldName property is equivalent to the TreeList.TreeViewColumn property. While the TreeList.TreeViewColumn property allows you to specify a TreeListColumn object as a target display column, the TreeViewFieldName property allows you to address this column by its field name.

See TreeView Style to learn more.

See Also