Back to Devexpress

EditorDescriptorsFactory Class

expressappframework-devexpress-dot-expressapp-dot-editors-957163cf.md

latest1.7 KB
Original Source

EditorDescriptorsFactory Class

Provides helper methods used to register View Items, Property Editors, List Editors and their alias names.

Namespace : DevExpress.ExpressApp.Editors

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class EditorDescriptorsFactory
vb
Public Class EditorDescriptorsFactory

Remarks

Generally, you do not need to create new instances of EditorDescriptorsFactory. To access the default EditorDescriptorsFactory instance, override the ModuleBase.RegisterEditorDescriptors protected method and use the editorDescriptorsFactory parameter.

csharp
protected override void RegisterEditorDescriptors(
    EditorDescriptorsFactory editorDescriptorsFactory) {
    editorDescriptorsFactory.RegisterListEditor(
        typeof(MyBusinessObject), typeof(MyListEditor), true);
}

To learn more about the RegisterEditorDescriptor method, refer to the ModuleBase class description.

Inheritance

Object EditorDescriptorsFactory

See Also

EditorDescriptorsFactory Members

DevExpress.ExpressApp.Editors Namespace