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

RadRichTextBox Height defaults to MaxHeight

1 Answer 90 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 11 Feb 2011, 03:04 PM
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 ?

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 16 Feb 2011, 05:05 PM
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
Tags
RichTextBox
Asked by
Joseph
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or