title: How to prepopulate Autocomplete SelectedItem
body: <p>From my previous post, it helped be to determine how to bind to selecteditems, <a href="https://stackoverflow.com/questions/54677654/how-to-bind-to-autocomplete-selecteditem-with-observablecollection">How to bind to autocomplete selecteditem with ObservableCollection</a> But now I'm trying to enhance that logic. </p>
  
  <p>I'm trying to have items preselected when my View is initialized. I've tried multiple options, but I can't seem to get items preselected. May I get some assistance. My current code below</p>
  
  <p>Keyword Class</p>
  
  <pre><code>public class Keyword : ObservableObject
  {
      private string _value;
      public string Value
      {
          get { return _value; }
          set { SetProperty(ref _value, value); }
      }
  }
  </code></pre>
  
  <p>ViewModel</p>
  
  <pre><code>private ObservableCollection&lt;object&gt; _selectedKeywords = new ObservableCollection&lt;object&gt;();
  private ObservableCollection&lt;Keyword&gt; _keywords = new ObservableCollection&lt;Keyword&gt;();
  
  
  public TestViewModel()
  {
      Keywords = new ObservableCollection&lt;Keyword&gt;() 
      { 
          new Keyword { Value = "Apples" }, 
          new Keyword { Value = "Bananas" }, 
          new Keyword { Value = "Celery" } 
      };
      SelectedKeywords = new ObservableCollection&lt;object&gt;(Keywords.Where(x =&gt; x.Value == "Apples"));
  }
  
  public ObservableCollection&lt;object&gt; SelectedKeywords
  {
      get { return _selectedKeywords; }
      set { SetProperty(ref _selectedKeywords, value); }
  }
  public ObservableCollection&lt;Keyword&gt; Keywords
  {
      get { return _keywords; }
      set { SetProperty(ref _keywords, value); }
  }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>&lt;autocomplete:SfAutoComplete MultiSelectMode="Token"
                              HorizontalOptions="FillAndExpand"                                                                
                              VerticalOptions="EndAndExpand"
                              TokensWrapMode="Wrap" 
                              Text="{Binding Keyword, Mode=TwoWay }"
                              IsSelectedItemsVisibleInDropDown="false"
                              Watermark="Add..."
                              HeightRequest="120"
                              SelectedItem="{Binding SelectedKeywords}"
                              DataSource="{Binding Keywords}"&gt;
  &lt;/autocomplete:SfAutoComplete&gt;
  </code></pre>