Rob Ainscough

I'm looking for a limited document editing control (staying 100% managed code) in VS 2008 .NET 3.5. Something similar to say WordPad.

DocumentViewer is for read only, so that will not work for me.

Not sure about TextBlock -- is this viable for editing and basic formatting of text/paragraphs

RichTextBox

What would you use

Thanks, Rob.



Re: Windows Presentation Foundation (WPF) TextBlock, DocumentViewer, any document editing controls?

Ramanujam Sampath

Hi Rob,

If you are loking for a basic text editing control then you can use RichTextBox. It can take data from a .doc file or a flowdocument (xaml file). But it stil does not have libraries to parse a .docx file.

Richtext Box can do basic stuff like - Bold, Italics, Underline, Normal, Indenting...

But there are variuos 3rd party editor controls which you have to buy.

~Ram






Re: Windows Presentation Foundation (WPF) TextBlock, DocumentViewer, any document editing controls?

Rob Ainscough

Ram,

Perfect -- that will do enough for my needs - RichTextBox. I want to avoid 3rd party controls - update, deployment issues, stability, will they be around in a year or two, etc. -- anyone writing WPF controls

Just curious, can 3rd party controls be 100% managed I would assume they can be.

Thanks, Rob.





Re: Windows Presentation Foundation (WPF) TextBlock, DocumentViewer, any document editing controls?

Ramanujam Sampath

Hey Rob,

U wont believe there are a lot of WPF text editor controls which are already developed and is being supported. But if thats not your option you can still live with RTF... as long as it provides what u need..

~Ram






Re: Windows Presentation Foundation (WPF) TextBlock, DocumentViewer, any document editing controls?

LesterLobo - MSFT

take a look at the sample http://blogs.msdn.com/llobo/archive/2007/08/16/3-5-features-addins.aspx

it contains editing control which might be helpful in your scenario