Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableOptions.GridLines Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#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