public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            AutoCompleteTextField textField = new AutoCompleteTextField(new CGRect(10, 100, 300, 30));
            textField.DataSource = new DefaultDataSource();
            textField.BorderStyle = UITextBorderStyle.RoundedRect;
            textField.ShowAutocompleteButton = true;

            textField.DidAutoComplete += (s, e) => {
                UIAlertView alert = new UIAlertView();
                alert.Message = textField.Text;
                alert.Show();
            };

            textField.ShouldReturn += (s) =>
            {
                textField.ResignFirstResponder();
                return true;
            };

            View.Add(textField);
        }