Back to Devexpress

TreeList.PreviewFieldName Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-de925078.md

latest2.3 KB
Original Source

TreeList.PreviewFieldName Property

Gets or sets the name of the field that automatically provides data for preview sections.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue("")]
[XtraSerializableProperty]
public string PreviewFieldName { get; set; }
vb
<DefaultValue("")>
<XtraSerializableProperty>
Public Property PreviewFieldName As String

Property Value

TypeDefaultDescription
StringString.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.

See Also

ShowPreview

PreviewLineCount

AutoCalcPreviewLineCount

Preview Sections

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace