Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PrintLayoutView.AllowDisplayLineNumbers Property

Gets or sets whether line numbers, when enabled, are displayed in the PrintLayoutView.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(true)]
public override bool AllowDisplayLineNumbers { get; set; }

Property Value

Type Default Description
Boolean **true**

true to show line numbers if they are enabled; otherwise, false.

Remarks

Set the AllowDisplayLineNumbers to false, to prohibit line numbers from appearing in the document.

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

See Also