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

RadRichTextBox Hieght Problem

3 Answers 76 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
F1Soft
Top achievements
Rank 1
F1Soft asked on 02 Jun 2018, 02:03 AM

Hi. 

I had Page with RadRichTextBox like word format.

It almost same with default telerik word project.

I want RadRichTextBox filled in Grid's RowDefinition(1), could resize.

Please see attched files. How can I fill it to row ?

sorry for so basically.

thanks.

3 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 06 Jun 2018, 03:28 PM
Hello,

Could you please share more details on what the end goal is? I am currently not sure I completely understand the scenario and I would like to gather more information so I can provide you with an appropriate suggestion. Do you want RadRichTextBox to resize when the Grid is resized (probably due to a Window resize) or you need to provide the end users the ability to change its size?

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
F1Soft
Top achievements
Rank 1
answered on 07 Jun 2018, 05:22 AM

Hi Tanya.

You are right!.

I want RadRichTextBox to resize when the Grid is resized.

I wonder why didn't fill to grid by default.

thanks.

0
Tanya
Telerik team
answered on 08 Jun 2018, 02:17 PM
Hi,

I am attaching an example which, if I correctly understand the end goal, behaves as expected - you can test it by maximising the window. When you change the size of the window, you will notice that the size of RadRichTextBox is also changed to fill the available space. Would you please check it and let me know if I am missing something? I used the code I was able to see in the attached images.

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
RichTextBox
Asked by
F1Soft
Top achievements
Rank 1
Answers by
Tanya
Telerik team
F1Soft
Top achievements
Rank 1
Share this question
or