Hello,We are using the embeddable RichTextBox explained in this page: http://es.infragistics.com/help/topic/3E75B8D0-C92F-4C7F-9567-DDB814AD8C68 in Grids, now we are wondering if it is possible to embeed that same editor in a "simple" infragistics control so we can get rid of the inbox RichTextEditor and create one that can be styled using infragistics styles.
Thanks
Hi,
There's really no relationship between making the control an embeddable editor and styling it.
If you want a styleable control that can display rich, formatted text, then you should use the UltraFormattedTextEditor. It doesn't use actual RichText, but it does have a lot of the features of rich text like different colors and fonts and also hyperlinks.
If that's no good and you need actual RichText, then you you would have to read the information in the current Style Library in memory and then apply it to the control yourself in code.
Unfortunally for us we have to display RTF, and currently the control we are using is the inbox RichTextEditor, there is no any way to style it as an Infragistics control?
Well, like I mentioned, you could read the style data from the style library loaded into memory and then set properties on the RichTextBox control based on those properties. For example, you could read out the BackColor for a TextBox or an UltraTextEditor and apply it to the RichTextBox by setting it's BackColor.
But it's a manual process, there's no way to automatically apply the styling. And AppStyling can't make the RichTextBox or any other control support styling that it doesn't already support. The control doesn't support gradients, for example.