protected ObservableList <UWarGoodsStoreItem> GetFilterResult(EWarGoodsStoreSearchFilter _eFilter)
 {
     if (_eFilter == EWarGoodsStoreSearchFilter.ESF_Startswith)
     {
         return(LogicDataCenter.warMobaGoodsDataManager.WarGoodsStoreMobaGoodsDataSource.Where(Startswith).ToObservableList());
     }
     else
     {
         return(LogicDataCenter.warMobaGoodsDataManager.WarGoodsStoreMobaGoodsDataSource.Where(Contains).ToObservableList());
     }
 }
        public void OnSearchValueChange(EWarGoodsStoreSearchFilter _eFilter, string _strValue)
        {
            if (_strValue.Length == 0)
            {
                //SetAllGoodsTileDataSource(LogicDataCenter.warMobaGoodsDataManager.WarGoodsStoreMobaGoodsDataSource);
                HideOptions();
                return;
            }


            m_tmpSearchTextInput  = _strValue;
            AllGoodsTile.Multiple = false;
            SetAllGoodsTileDataSource(GetFilterResult(_eFilter));
            if (AllGoodsTile.DataSource.Count > 0)
            {
                ShowOptions();
                AllGoodsTile.SelectedIndex = 0;
            }
            else
            {
                HideOptions();
            }
            m_tmpSearchTextInput = null;
        }