Back to Devexpress

GridOptionsView.ShowPreviewRowLines Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-85013ac8.md

latest2.5 KB
Original Source

GridOptionsView.ShowPreviewRowLines Property

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowPreviewRowLines { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowPreviewRowLines As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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 TypePath 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

ShowPreview

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace