Sneak Peek: Drag-n-drop, dialogs, more formats with the rich text editor in WinForms

ctodx
28 October 2009

Part of a series on the new features appearing in DXperience v2009.3. This time around let's delve into the myriad new features of the XtraRichEdit control. This is going to be a long one, sorry in advance for taxing your broadband connection...

First on the (alphabetical) list is drag and drop. We'll start off with an animated GIF showing drag-and-drop working from within the control. It works just as you'd expect: select some text, click within the selection and, without releasing the mouse button, drag the text to a new position and drop it there.

DragNDrop

Next up in the same vein is dragging files into a rich text editor. First in this set of examples is dragging an OpenOffice file:

DargDropODT

Second is dragging an RTF file:

DargDropRTF

And last, but not least, dragging a DOCX file.

DragDropDocx

Of course, drag-and-drop wouldn't be complete unless we could drag and drop rich text from, oh, say, Microsoft Word?

DragNDropWord01

DragNDropWord02 

DragNDropWord03 

Now if you'd been paying attention there with the drag-and-drop images you'd have noticed something new, so this formal announcement won't be a surprise: we now support the OpenOffice format:

OpenDocument

Another format we've added support for is the WordprocessingML format (a.k.a. the Word 2003 XML format):

WordProcessingML

Third on our big list of new features are some essential standard dialogs. (And surely it goes without saying that all the new dialogs use the current application skin.) First up is the standard bullets and numbering dialog:

bullets and numbering form

Of course, you really want the ability to customize the bullets:

customize bulleted form

And the numbered list as well:

customize numbered form

On the twelfth day of DevExpress Christmas, Rachel gave me the chance to win a 12 month subscription for DXperience Universal so I can get all of my 12 Christmas wishes: http://is.gd/5hkp2

Having done those two, we also added the ability to customize the numbered levels used in outlines:

customize outline numbered form 

Another standard dialog I've been waiting for is the Insert Symbol dialog (warning: we threw in a gratuitous Comic Sans reference in the image):

insert symbol - 1

insert symbol - 2

Fourth in our big list of features is something else you may have spotted already: support for hyperlinks. This comes with its own standard Edit Hyperlink form:

hyperlink_edit_form

Once you have a hyperlink in your document, you can hover over it and get a standard tooltip. Also the context menu shows editing actions you can make with a hyperlink:

hyperlink_tooltip_context_menu

A very nifty hyperlink-related feature we added is the ability to run a "macro" as the target of a link. A picture is worth a thousand words (and an animated one at least double that): here clicking on the hyperlink ">>Deadline Date<<" shows a form that allows the user to set a date. The result of that form replaces the hyperlink text.

RichEditHyperlinkMac

Finally, another feature you should have noticed by now if you are already a user of our WinForms rich text editor: rulers. Note the rulers support showing and adding margins, indents, and tabs.

Ruler121

Ruler21 

As you have seen, some remarkable new features for the XtraRichEdit control for v2009.3.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.