I have this custom render. I want to define the source elements of the AutoComplete but i can't see any info in the documentation for iOS.
Regards.
protected
override
Type GetCustomEditorType(
string
propertyName, Type propertyType)
{
switch
(propertyName)
{
case
nameof(AsuntosDataFormModel.tipo):
return
typeof
(TKDataFormAutoCompleteInlineEditor);
default
:
return
base
.GetCustomEditorType(propertyName, propertyType);
}
}
protected
override
void
InitEditor(TKDataFormEditor editor, IEntityProperty property)
{
base
.InitEditor(editor, property);
var name = property.PropertyName;
switch
(name)
{
case
nameof(AsuntosDataFormModel.tipo):
editor.Property.Image =
new
UIImage(
"ic_data_tipo.png"
);
break
;
}
}