Textformat changes in ultratexteditor after i select edit (editor mode):I know i can fix this when i set TextRenderingMode to GDI (not GDI+) but ist there a better way to do this? Or can i set TextRendering Mode by DEFAULT to GDI?
Thank 4 Help
mygil,
Internally when in edit mode, a Microsoft TextBox is used internally and this is why the rendering is GDI when you are in edit mode and why the rendering of the text changes. By default GDI+ is used because it is more performant.
To change the rendering for an individual editor, you can set the TextRenderingMode on each editor that you want to use GDI rendering. If you wnat to use GDI rendering by defauld for all controls, you can set the static UseGDIPlusTextRendering property to false:
Infragistics.Win.UseGDIPlusTextRendering = false;
As an alternative, you could use the WinFormattedTextEditor in place of the UltraTextEditor as this doesn't use the Microsoft TextBox internally when editing so the rendering mode wouldn't change.
Let me know if you have any questions with this matter.
Please let me know if I may be of further assistance.
Hi Alan,
Is there any Html Email rendering control in windows form Infragistics v11.2.20112.2098?
Thanks,
Durjan
Hi Durjan,
No, there is no Html control in NetAdvantage for Windows Forms.
There is the UltraFormattedTextEditor, though. It doesn't use Html, but rather a proprietary XML format. It's very similar to Html, but it's not the same thing and there's no direct conversion. So if your goal is to display text with formatting, colors, images, and hyperlinks, you could use UltraFormattedTextEditor, but if your intent is to support Html, it won't help.
BTW.. you can submit a feature request to Infragistics here:
Windows Forms: Hot (12 ideas) – Customer Feedback for NetAdvantage