views:

16

answers:

0

We have extended the rich text editor to provide us with additional behaviour.

We have a requirement to paste images into the rich text editor and then allow the user to change the text wrapping, so that multiple lines of text wrap around the image.

Images are able to be pasted into the rich text editor and the binary is embeded within the FlowDocument as expected. Unfortinatly I am not sure how I can set TextWrapping on the embeded Image.

We have looked at using wrapping it in a Floater, which 1/2 achieves our goals, although we are unable to align it left and right. When draging the image to another part of the document, it leaves the floater behind.

I was hoping for an attached property that we can set such as TextWrap or something? Any ideas?