I've looked in the documentation for WinFormattedTextEditor and found that there is no HTML <br> tag equivalent. The only close tag provided is the <p></p> one; however this tag introduces one extra empty line between paragraphs which I don't want.
Is any way to obtain the HTML <br> tag behaviour for this control?
I was missing the "/" in the <br/>
Thanks, Mike for help.
Hi,
Use "<br/>".
For future reference, I figured this out by placing an UltraFormattedTextEditor control on a form and going to the Value property. I clicked on the ellipsis in the Visual Studio Properties window and this brings up the Formatted Text Editor dialog.
Then I typed some text, pressed return, and typed some more text to create two lines of text with a line break.
Then I switched to the "Edit Value as Raw Text" tab so I could see the generated XML.
And in fact, once you switch to this tab, there is even a "BR" button on the toolbar. :)