Skip to main content

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

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

Declaration

[DefaultValue("")]
[DXCategory("Data")]
[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