This is a migrated thread and some comments may be shown as answers.

RadRichTextBox:Removing leading and trailing spaces

2 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priyatam
Top achievements
Rank 1
Priyatam asked on 25 Jul 2018, 04:51 AM

We are using telerik RadrichTextbox in our wpf application. 

When user is entering some space before/after the text.please tell how to trim it of ?

2 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 27 Jul 2018, 08:48 PM
Hello Priyatam,

Am I right in thinking that you would like to decrease the spacing before and after a Paragraph? If so, you can achieve that by modifying the Normal style of the control. You can find a sample code showing how you can achieve that in the Styles topic, Example 8. Please, have in mind that these styles are preserved on document level and you might need to apply them in the handler of the DocumentChanged event.

Hope this helps.

Regards,
Tanya
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.
0
Priyatam
Top achievements
Rank 1
answered on 25 Sep 2018, 06:47 PM
Thankyou Tanya..it helps a lot
Tags
General Discussions
Asked by
Priyatam
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Priyatam
Top achievements
Rank 1
Share this question
or