Skip to main content
.NET 6.0+

ModelSynchronizer<T, V> Class

The recommended base class to use for model synchronizers.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public abstract class ModelSynchronizer<T, V> :
    ModelSynchronizer

Type Parameters

Name
T
V

Remarks

To create a custom model synchronizer by deriving from the ModelSynchronizer<T, V> class, override two methods. Override the protected ApplyModelCore method to check the ModelSynchronizer`2.Model property and configure the ModelSynchronizer.Control accordingly. Override the ModelSynchronizer.SynchronizeModel method to check the Control property and configure the Application Model via the Model property accordingly. To see a sample model synchronizer implementation, refer to the ListEditor.CreateCustomModelSynchronizer event description.

Inheritance

Object
ModelSynchronizer
ModelSynchronizer<T, V>
See Also