views:

168

answers:

2

i am making a project for bulk emailing . In this I have added a richtext box . I want users to enter the email message body in it and want to give them the ability to format .Richtext box should be able to make the content bold,italics, underline , align it right left and center , increase font , decrease font,change color, change the font like Times New Roman depending on the click of the button. Help me how should i go about it. also let me know which references i should add to my project.its urgent guys . please help

A: 

Take a look at this modified richtextbox http://www.codeproject.com/KB/miscctrl/richtextboxextended.aspx

brydgesk
I want to append an html image tag in richtext box after the user has finished entering his text . how do i do it .
Ashwin
A: 

You can use CommandBinding, and inside that binding, you have options to handle EditingCommands such as increasing font size, aligning text, and etc.

This would let you handle your own implementation instead of the default behavior. This way, you can say, well if MoveDownByParagraph was triggered by the agent, then, do this instead.

Examples:

http://msdn.microsoft.com/en-us/library/ms752308.aspx

http://www.switchonthecode.com/tutorials/wpf-tutorial-command-bindings-and-custom-commands

paradisonoir
I want to append an html image tag in richtext box after the user has finished entering his text . how do i do it
Ashwin
what do you mean by html image tag?
paradisonoir