Take special note that this editor is intended to be used for a simple and most common scenario when only one text property in a Detail View is edited with the help of the XtraRichEdit control. Other scenarios are not supported in this example and are required to be implemented manually. For example, if there are more than one property, edited with this editor in a Detail View, then there may be problems with merging in ribbons. See the B142856 issue for more detailed information.
See Also:
Implement Custom Property Editors
How to: Implement a Property Editor for Windows Forms Applications
XtraRichEdit Home
PropertyEditors - Support the XtraRichEdit control.
Question Comments
Added By: Willem de Vries at: 10/24/2012 7:25:46 AM
After copying the necessary files to my project, i ran into an error in MergeRibbonDetailViewController. I changed the code slightly (in the test):
private void Frame_TemplateChanged(object sender, EventArgs e) {
UnMergeRibbon();
mainRibbonControl = null;
IClassicToRibbonTransformerHolder form = Frame.Template as IClassicToRibbonTransformerHolder;
if (form != null && form.RibbonTransformer != null) {
form.RibbonTransformer.Transformed += RibbonTransformer_Transformed;
}
}
Thanks for your great works!
I've downloaded the example, and successfuly runed it. But I can't create a simlar project from ZERO.
Would you write out some brief steps to create this project?
Many Thanks!