Skip to main content
A newer version of this page is available. .

TreeListOptionsView.ShowPreview Property

Gets or sets whether preview sections are displayed.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.2.dll

NuGet Package: DevExpress.Win.TreeList

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowPreview { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to display preview sections; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowPreview
WinForms Controls GanttControl
.OptionsView .ShowPreview
ResourcesTree
.OptionsView .ShowPreview
TreeList
.OptionsView .ShowPreview
Reporting XRDesignFieldList
.OptionsView .ShowPreview
XRDesignReportExplorer
.OptionsView .ShowPreview

Remarks

Preview sections are forcibly hidden if TreeListOptionsView.ShowHierarchyIndentationLines is False and a hierarchy column is visible (see TreeList.HierarchyColumn/TreeList.HierarchyFieldName).

For more information on displaying and customizing preview sections, see Preview Sections.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPreview 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.

See Also