how to insert paragraph inside paragraph ?

4 posts, 0 answers
  1. Sopan
    Sopan avatar
    34 posts
    Member since:
    May 2012

    Posted 23 Aug 2013 Link to this post

    Hi,

    Is it possible to insert paragraph inside paragraph ?
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 27 Aug 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sopan
    Sopan avatar
    34 posts
    Member since:
    May 2012

    Posted 28 Aug 2013 Link to this post

    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>
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 29 Aug 2013 Link to this post

    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 >>
Back to Top