Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

PrintLayoutView.AllowDisplayLineNumbers Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

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