Beispiel #1
0
        void HandleItemSelected(IPlaceResult prediction)
        {
            if (this.PlaceSelectedCommand != null && this.PlaceSelectedCommand.CanExecute(this))
            {
                this.PlaceSelectedCommand.Execute(prediction);
            }

            this._textChangeItemSelected = true;

            this.SearchText = prediction.Description;
            this._autoCompleteListView.SelectedItem = null;

            this.Reset();
        }
        private void HandleItemSelected(IPlaceResult prediction)
        {
            if ((PlaceSelectedCommand != null) && PlaceSelectedCommand.CanExecute(this))
            {
                PlaceSelectedCommand.Execute(prediction);
            }

            _textChangeItemSelected = true;

            SearchText = prediction.Description;
            _autoCompleteListView.SelectedItem = null;

            Reset();
        }
        private void HandleItemSelected(IPlaceResult prediction)
        {
            if (this.PlaceSelectedCommand != null && this.PlaceSelectedCommand.CanExecute(this))
            {
                this.PlaceSelectedCommand.Execute(prediction);
            }

            this._textChangeItemSelected = true;

            this.SearchText = prediction.Description;
            this._autoCompleteListView.SelectedItem = null;

            this.Reset();
        }