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

How to create Regions like MS Word in RadRichTextBox ?

1 Answer 38 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Sopan
Top achievements
Rank 1
Sopan asked on 07 Aug 2013, 07:19 AM
Hi,

I wants t create the functionality like Region available in Visual Studio which allow to expand and collapse the code or text.

How to imlement ?

Please help or suggest.



Thanks & Regards

Sopan Vaidya

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 09 Aug 2013, 01:54 PM
Hi Sopan,

As discussed in this forum thread RadRichTextBox does not support collapsible and expandable regions and this functionality cannot be achieved with the current version of the control. Your approach described in the other forum - using InlineUIContainers with RadExpander in them - does not present a viable option due to the following limitations:

1. InlineUIContainers are not resizable and copyable. Thus, there will be no way to achieve a smooth editing experience.

2. Even if you use RadRichTextBoxes in the RadExpanders, the commands from the RibbonUI cannot be made to work with these elements.

3. There are some limitations with the export and import of InlineUIContainers, described in this article.

This said, unfortunately the conclusion is that at this point collapse/expand functionality cannot be achieved in RadRichTextBox.


Regards,
Iva Toteva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox
Asked by
Sopan
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or