/// <summary>
 /// Gets the results.
 /// </summary>
 /// <returns>Values matches filter.</returns>
 protected virtual ObservableList <TValue> GetResults()
 {
     if (CustomFilter != null)
     {
         return(CustomFilter(Query));
     }
     else
     {
         if (Filter == AutocompleteFilter.Startswith)
         {
             return(Utilites.FindAll(DataSource, Startswith));
         }
         else
         {
             return(Utilites.FindAll(DataSource, Contains));
         }
     }
 }