While you can use definitions to control the behavior of Sitefinity’s backend with its built-in modules, you can also implement custom definition classes for your custom modules. This section is going to explain how you can do that.
The reason those three exist is rooted in the chain of responsibility pattern that definitions implement. The definition class is used to keep values for the properties of each control in memory. The configuration element is used to persist those values as a configuration file. The interface ensures that both the class and the configuration element implement the same contract (or have the same properties). You need to implement all three components if you want to use a custom definition for your control.
Back To Top