RadRichTextBox Height defaults to MaxHeight

2 posts, 0 answers
  1. Joseph
    Joseph avatar
    135 posts
    Member since:
    Sep 2007

    Posted 11 Feb 2011 Link to this post

    When you set MaxHeight, the RadRichTextBox defaults to the MaxHeight Value, ignoring the MinHeight or the text that is located inside.

    Any idea why the control behaves like this ?
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 16 Feb 2011 Link to this post

    Hi Joseph,

    Currently RadRichTextBox takes all space provided by its container when the layout mode of its document is flow.
    We are currently working on the behavior that is expected when measured with infinity (what happens in a Grid row with Auto height or in a StackPanel). Note that in these cases, RadRichTextBox will not be able to make use of UI Virtualization and that will most probably have a negative impact on the performance.

    Best wishes,
    Iva
    the Telerik team
Back to Top