display System.Windows.Forms.RichTextBox in xaml browser  
Author Message
spshah





PostPosted: Windows Presentation Foundation (WPF), display System.Windows.Forms.RichTextBox in xaml browser Top

Hi,

I can't display System.Windows.Forms.RichTextBox in my xaml browser application.If I use System.Windows.Controls.RichTextBox then it works,but i cannot achieve some of the functionalities like getting the text bolded,underlined etc. Hence i tried to use System.Windows.Forms.Richtextbox. Can any one tell me how to display System.Windows.Forms.RichTextBox in XAML browser application or else how could i achieve the mentioned functionalities for system.windows.controls.richtextbox.

Regards,

spshah



Visual Studio 200823  
 
 
LesterLobo - MSFT





PostPosted: Windows Presentation Foundation (WPF), display System.Windows.Forms.RichTextBox in xaml browser Top

(Paragraph(p)).Inlines.Add(new Bold/Italic (new Run("text")))

Similarly underline is just a textdecoration on text..