RichTextBoxAdv.IsVirtualizing = true

Hi there, with

RichTextBoxAdv.IsVirtualizing = true;

it seems it still loads all the pages of an e.g. 50 pages document.

Update: I understand (now) that it loads but does not render all pages. Still it takes a long time.

Please comment.

Thanks!


Oh in all my RichTextBoxAdv posts, I am referring to 19.3.0.57.

And it's a great tool, despite all my problems.


2 Replies

KG Kalaivannan Ganesan Syncfusion Team December 13, 2021 12:36 PM UTC

Hi Gorog,

Thanks for contacting Syncfusion support.

We are checking this issue and we will update you with further details on or before 15th December 2021.

Please let us know if you have any other questions.

Regards,
Kalaivannan Ganesan
 



KG Kalaivannan Ganesan Syncfusion Team December 15, 2021 06:44 PM UTC

Hi Gorog,

Thanks for the patience.

When IsVirtualizing   is made true, The SfRichTextBoxAdv control calculates the number of visible items and creates UI elements only for visible items. when the document loaded, first it would be converted into our DOM and layout the entire document, UI elements are created only when they are visible to utilize minimal memory.

Generating many UI elements when only a few elements might be on the screen can adversely affect the performance of your application. By default, IsVirtualizing is true and need not to force set true.

please below link to know more about virtualization
https://help.syncfusion.com/wpf/richtextbox/virtualization

Please let us know if you have any other questions.

Regards,
Kalaivannan Ganesan
 


Loader.
Up arrow icon