Create a new converter to handle custom data types or complex validation.
- (page 1 of 7)
Converters define how take information from a
displayer and map them to and from .net types.
A converter is defined by using a .net class which implements the Ant.ContentEntry.Converter interface. Once defined it can be used directly in a
class marked up for content entry.
If it is required in the
content definition dialog, a
Ant.ContentEntry.TypeFactory must be declared and registered.
In this how to we will make a converter which only accepts integers which are divisible by 3.