Skip to main content

GridOptionsView.ShowPreviewRowLines Property

Gets or sets whether horizontal lines are displayed below preview sections.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowPreviewRowLines { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean value that specifies if horizontal lines are displayed below preview sections.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowPreviewRowLines
GridView
.OptionsView .ShowPreviewRowLines

Remarks

If the ShowPreviewRowLines property is set to Default, horizontal lines are automatically hidden below preview sections in specific skins (e.g. Metropolis). In other skins, these lines are visible. You can forcibly hide these lines by setting the ShowPreviewRowLines property to False.

See Also