This example demonstrates how to create and use custom EditSettings with a custom editor in GridControl.
For this, we create a TextEditSettings class descendant with a custom EditFont property which is used to set the editor's FontFamily property. Then, we create a TextEdit class descendant. In the static constructor of the TextEditSettings class descendant, we call EditorSettingsProvider's RegisterUserEditor2 method with our TextEditSettings and TextEdit as parameters. After that, we override its AssignToEditCore method to set the editor's FontFamily value to the EditFont value.
For this, we create a TextEditSettings class descendant with a custom EditFont property which is used to set the editor's FontFamily property. Then, we create a TextEdit class descendant. In the static constructor of the TextEditSettings class descendant, we call EditorSettingsProvider's RegisterUserEditor2 method with our TextEditSettings and TextEdit as parameters. After that, we override its AssignToEditCore method to set the editor's FontFamily value to the EditFont value.