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

Declaration

[DXCategory("Data")]
[DefaultValue("")]
[XtraSerializableProperty]
public string TreeViewFieldName { get; set; }
<DXCategory("Data")>
<DefaultValue("")>
<XtraSerializableProperty>
Public Property TreeViewFieldName As String

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