RichEditView.AllowDisplayLineNumbers Property
Gets or sets whether line numbers can be displayed in the view.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v20.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to show line numbers if they are enabled; otherwise, false. |
Remarks
To enable line numbering, set the SectionLineNumbering.CountBy value for the document section to a positive integer other than zero.
In SimpleView and DraftView views line numbers are outside the default visible area, so you have to provide a space to display them by setting the left padding to a higher value (use the SimpleView.Padding or the DraftView.Padding property, respectively).
NOTE
In Print Layout View use the PrintLayoutView.AllowDisplayLineNumbers property.
See Also
Feedback