Unplanned
Last Updated: 29 Jan 2020 11:52 by ADMIN
Marco
Created on: 28 Jan 2020 15:30
Category: SyntaxEditor
Type: Feature Request
0
RadSyntaxEditor: Add ShowLineNumber property
How can I hide line numbers?
2 comments
Marco
Posted on: 29 Jan 2020 11:10
ok thanks
ADMIN
Nadya
Posted on: 29 Jan 2020 09:29

Hello Marco,

The LineNumberMargin that displays a number for each line of the current document is in the Margins collection of RadSyntaxEditor. You can remove it as shown below:

this.radSyntaxEditor1.SyntaxEditorElement.Margins.ScrollableLeft.RemoveAt(0);

However, exposing a public API that sets the LineNumberMargin to be visible or not sounds like a reasonable request. This is why I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik Points.

I hope this helps. Should you have any other questions, I will be glad to help.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.