Skip to main content

TableOptions.GridLines Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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:

Object Type Path to GridLines
RichEditControlOptionsBase
.TableOptions .GridLines

Remarks

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

See Also