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

how to insert paragraph inside paragraph ?

3 Answers 138 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Sopan
Top achievements
Rank 1
Sopan asked on 23 Aug 2013, 12:30 PM
Hi,

Is it possible to insert paragraph inside paragraph ?

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 27 Aug 2013, 03:59 PM
Hello Sopan,

The elements hierarchy or RadRichTextBox's native document RadDocument does not allow nesting paragraphs.

Let us know if you have additional questions.

Regards,
Petya
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 >>
0
Sopan
Top achievements
Rank 1
answered on 28 Aug 2013, 05:34 AM
Hi Petya,

thanks for replay

actually I want functionality where container inside the paragraph which allow to hold paragraph, image, table,any shape or anything which normal editor allows, and after then keep that container visibility visible and collapse on particular condition.

Is there any way to create this functionality ?

like following

<telerik:Paragraph>
                        <telerik:Paragraph>
                            <telerik:Span/>
                            <telerik:ImageInline/>
                            <telerik:Table/>
                        </telerik:Paragraph>
                        <telerik:Paragraph>
                            <telerik:Span/>
                            <telerik:ImageInline/>
                            <telerik:Table/>
                        </telerik:Paragraph>
 </telerik:Paragraph>
0
Petya
Telerik team
answered on 29 Aug 2013, 01:37 PM
Hello Sopan,

Thank you for getting back to us!

As you can see from the diagram I referenced in my previous post, the document element that can hold block elements (tables and paragraphs) is Section, so there is no need to place them in a paragraph in the first place.

However at this point collapse/expand functionality of any document elements cannot be achieved in RadRichTextBox.

Do not hesitate to contact us again if you have other questions.

Regards,
Petya
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
Petya
Telerik team
Sopan
Top achievements
Rank 1
Share this question
or