Hello,
I have two text editors ( UltraFormattedTextEditor and UltraTextEditor) on my form.
I noticed that ultraFormattedtexteditor has "contextMenuItems" in its properties in the behaviour section.But its missing in ultraTextEditor.
Is there a reason for this ?
What is the difference between ultraFormattedTextEditor and ultraTextEditor controls ?
While typing in the both the controls, I see that the characters are bit shaky.Is this a bug ? Or I am missing anything ?
Please advice
- Manju
Hi Chris,
Thanks so much for ur prompt reply.
I set the TextRendingMode property to GDI and it solves my problem of shakiness of the text.
Thanks much
- manju
Well Mike,
I set the TextRendingMode property to GDI and it solves my problem.
These two controls are very different. The UltraTextEditor basically uses .Net TextBox control when you type in it, so the TextBox is in control of the context menu. In the UltraFormattedTextEditor, there are no inbox controls used for editing. The editing and display of text is done through Infragistics' UI element architecture. Therefore, the context menu items displayed can be easily controlled.
Manju00 said:While typing in the both the controls, I see that the characters are bit shaky.Is this a bug ? Or I am missing anything ?
I'm not quite sure what you are referring to here. If you could explain specifically what is happening or post a video showing this, I might be able to help.
Manju,
Although both controls seem like simple editors, there is a vast difference between the two. WinTextEditor is a simple text editor, much like the in-box TextBox. WinFormattedTextEditor is more similar to the in-box RichTextBox, allowing you to style the text much like you would in HTML. To learn more about WinFormattedTextEditor, see the following topic.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WinFormattedTextEditor_About_WinFormattedTextEditor.html
The documentation is pretty lengthy on WinFormattedTextEditor. As for the ContextMenuItems property, that allows you to add control-specific items to WinFormattedTextEditor such as Copy, Paste, Delete commands. You can also add formatting commands like Bold, Italic, and Underline. So you won't see this on the WinTextEditor control. For more information on the ContextMenuItems property, see this topic.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WinFormattedTextEditor_Add_Items_to_WinFormattedTextEditors_Context_Menu.html
As for the shakiness while typing, is it because you are spell checking with WinSpellChecker? Maybe you could describe the shakiness a little more. I know that WinSpellChecker will add a red squiggly under misspelled words, so it's possible that the graphics are being affected.