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

GridOptionsView.ShowPreview Property

Gets or sets a value specifying whether preview sections are displayed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **false**

true, to display row preview sections; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowPreview
AdvBandedGridView
.OptionsView.ShowPreview
BandedGridView
.OptionsView.ShowPreview
GridView
.OptionsView.ShowPreview

Remarks

Please refer to the Row Preview Sections topic for information on specifying preview section content.

Note

If the Row Auto-Height or Preview Sections feature is enabled, pixel-based vertical row scrolling is not in effect. See GridOptionsBehavior.AllowPixelScrolling to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references 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