Skip to main content

PrintLayoutView.AllowDisplayLineNumbers Property

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

Namespace: DevExpress.XtraRichEdit

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

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

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