windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-85013ac8.md
Gets or sets whether horizontal lines are displayed below preview sections.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowPreviewRowLines { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowPreviewRowLines As DefaultBoolean
| 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
|
You can access this nested property as listed below:
| Object Type | Path to ShowPreviewRowLines |
|---|---|
| GridView |
.OptionsView .ShowPreviewRowLines
|
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