Data bindings usually transfer data from a source property to a target property, and in some cases from the target property to the source property. This transfer is straightforward when the source and target properties are of the same type, or when one type can be converted to the other type through an implicit conversion. When that is not the case, a type conversion must take place.
Value Converters are the classes that are used to convert one form of data into another. when design user interface for Phoebus mobile apps.
We can use Converters to convert text to Data List. For example: pbs.BO.LA.NA => List of addresses
We can use Converter to convert from Text to a Command, which a button will trigger when user click it.
For example:
pbs.BO.LA.NA?AddCode=C0002$Action=View => Open Address record with Id=C0002.
There are certain case studies when we need to convert the data from one format to another format in software development, especially in application development.
So, we perform the conversion like -
Color to string
Bool to string
String to color etc.
Phoebus offers many Converters for consultants to design Mobile Apps. They are:
Boolean Converter : Key = SBool
Bool2TextConverter : Key = Bool2Text
FormatTextConverter : Key = FormatText
ImageConverter : Key = Image
Bool2ImageConverter : Key = Bool2ImageLookup2ImageConverter : Key = Lookup2ImageNotEmptyStringBoolConverter : Key = NotEmpty
SDateConverter : Key = SDate
SValueConverter : Key = SValue
SFormulaConverter : Key = SFormula
SInfoConverter : Key = SInfo
SLookupConverter : Key = SLookup
SValueConverter : Key = SValue
Text2CommandConverter : Key = UrlCommand
TranslationConverter : Key = Translate
GetColorConverter : Key = GetColor
BOConverter : Key = Str2BO
BOListConverter : Key = Str2List
DataTableConverter : Key = Str2DataTable
DataRowConverter : Key = DataRow
Updated on : 2021-04-30 07:13:05. by : . at T470-01.
Topic : Converters