Unplanned
Last Updated: 20 Feb 2020 15:52 by Olivier
Petar
Created on: 28 Oct 2019 07:25
Category: SyntaxEditor
Type: Feature Request
8
SyntaxEditor: Add ShowLineNumbers dependency property
Add dependency property for showing/hiding the line numbers on the left of the source code.
3 comments
Olivier
Posted on: 20 Feb 2020 15:52

Hello Dilyan,

Thanks for your answer I applied this workaround for the moment.

Best regards, 

ADMIN
Dilyan Traykov
Posted on: 20 Feb 2020 15:49

Hello Olliver,

For the time being, you can hide the line numbers using the following code snippet:

this.syntaxEditor.Margins.ScrollableLeft.RemoveAt(0);
I do hope you find such an approach applicable while we introduce a property to control the line numbers' visibility.

Regards,
Dilyan Traykov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Olivier
Posted on: 18 Feb 2020 17:16

Hello,

This feature is critical for us, we need to put some syntaxEditor components with only 1 line so we don't want the line numbers.

Best regards,