This example demonstrates how to create an editor that allows displaying rich content and buttons at the same time.
In this example we have created a RepositoryItemButtonEdit descendant with an additional RichEdit property. The RichEdit property is a RepositoryItemRichTextEdit object. It is used to draw the editor content in a required document format.
In addition, the RepositoryItemRichTextEdit object is used to calculate the row height when this editor is used as an inplace editor in GridControl or TreeList. To enable the auto height calculation feature, the editor should implement the IAutoHeightControl interface, and its ViewInfo should implement the IHeightAdaptable interface.