A newer version of this page is available. Switch to the current version.

TableOptions.GridLines Property

Gets or sets whether the boundaries of cells without borders applied, are visible.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

[DefaultValue(RichEditTableGridLinesVisibility.Auto)]
[XtraSerializableProperty]
public RichEditTableGridLinesVisibility GridLines { get; set; }

Property Value

Type Default Description
RichEditTableGridLinesVisibility

Auto

A RichEditTableGridLinesVisibility enumeration value specifying the gridlines visibility mode.

Available values:

Name Description
Auto

Default setting.

Visible

Cell boundaries of a table are shown wherever the table doesn’t have borders applied.

Hidden

If cells do not have borders applied, their boundaries are not shown.

VisibleWhileDragging

Cell boundaries of a table are shown while dragging it with the mouse.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to GridLines
WinForms Controls SnapControlOptions
.TableOptions.GridLines
RichEditControlOptions
.TableOptions.GridLines
WPF Controls RichEditControlOptions
.TableOptions.GridLines
Office File API RichEditControlOptionsBase
.TableOptions.GridLines

Remarks

Use the RichEditControl.Options.TableOptions.GridLines or RichEditDocumentServer.Options.TableOptions.Gridlines notation to specify the grid lines visibility.

See Also