AutoComplete in iOS

2 posts, 0 answers
  1. Francisco Gabriel
    Francisco Gabriel avatar
    6 posts
    Member since:
    May 2017

    Posted 05 May 2017 Link to this post

    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.




    protected override Type GetCustomEditorType(string propertyName, Type propertyType)
                switch (propertyName)
                    case nameof(AsuntosDataFormModel.tipo):
                        return typeof(TKDataFormAutoCompleteInlineEditor);
                        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");
  2. Ivaylo Gergov
    Ivaylo Gergov avatar
    691 posts

    Posted 09 May 2017 Link to this post


    You can use the DataSourceKey attribute to define your source. Another way is to create custom DataFormDelegate and provide the value options to the TKEntityProperty.ValuesProvider. 

    I hope this helps.

    Ivaylo Gergov
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top