Hi Jean,
Thank you for your interest in Syncfusion products.
Currently RichTextBoxAdv control does not support binding of XAMLText property
directly in Xaml, as a workaround you can achieve this requirement by defining
a MVVM extension. We have prepared the WPF sample to illustrate the same to
bind the XAMLText property of RichTextBoxAdv control using MVVM framework. Please
do find the sample for the same from attachment.
Note: Kindly note that the XAMLText property will not be updated dynamically
on content modifications done in RichTextBoxAdv, rather it will be updated only
on accessing the XAMLText property (In Getter method). Hence we have
used LayoutUpdated event, to get the content modifications done by the user in
RichTextBoxAdv control and update the XAMLText to XAMLContent of view model.
Please let us know if you have any other questions.
Regards,
Gunasekaran
Hi Jean,
Thank you for your update. Please let us know if you require any further
assistance.
Regards,
Gunasekaran
Hi Jean,
Thank you for your interest in Syncfusion products.
Currently RichTextBoxAdv control does not support binding of XAMLText property directly in Xaml, as a workaround you can achieve this requirement by defining a MVVM extension. We have prepared the WPF sample to illustrate the same to bind the XAMLText property of RichTextBoxAdv control using MVVM framework. Please do find the sample for the same from attachment.
Note: Kindly note that the XAMLText property will not be updated dynamically on content modifications done in RichTextBoxAdv, rather it will be updated only on accessing the XAMLText property (In Getter method). Hence we have used LayoutUpdated event, to get the content modifications done by the user in RichTextBoxAdv control and update the XAMLText to XAMLContent of view model.
Please let us know if you have any other questions.
Regards,
Gunasekaran
Sample_e7f87df0.zip
Hello,
Thansk for support. I can't download the sample, could please make it avalaible ?
Thanks