.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ParagraphPropertiesBase.SuppressLineNumbers Property

Gets or sets whether to display line numbers for the paragraphs.

Namespace: DevExpress.XtraRichEdit.API.Native

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


bool? SuppressLineNumbers { get; set; }
Property SuppressLineNumbers As Boolean?

Property Value

Type Description

true if line numbering is suppressed for all paragraphs; false if line numbers are displayed for all paragraphs in a range; or otherwise, null for a mixture of states.


To enable line numbering, the SectionLineNumbering.CountBy value for the document section encompassing the current paragraph should be a positive integer greater than zero.

To obtain the ParagraphProperties interface for the specified document range, use the SubDocument.BeginUpdateParagraphs - SubDocument.EndUpdateParagraphs pair of methods.

See Also