TreeList.PreviewFieldName Property
Gets or sets the name of the field that automatically provides data for preview sections.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v20.2.dll
NuGet Package: DevExpress.Win.TreeList
Declaration
[DefaultValue("")]
[XtraSerializableProperty]
public string PreviewFieldName { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | The name of the field whose values are displayed in preview sections. |
Remarks
Set the TreeListOptionsView.ShowPreview option to true to enable preview sections.
See the Preview Sections topic to learn more.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PreviewFieldName property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.