ModelSynchronizer<T, V> Class

The recommended base class to use for model synchronizers.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public abstract class ModelSynchronizer<T, V> :
    ModelSynchronizer,
    IModelSynchronizable,
    IDisposable

Type Parameters

Name Description
T
V

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