Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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