Ejemplo n.º 1
0
        private void PerformSearch(string searchtext)
        {
            OrderList.BeginRefresh();

            OrderList.ItemsSource = string.IsNullOrEmpty(searchtext) ? vm.OrderItems : vm.OrderItems.Where(x => x.OrderName.ToLower().Contains(searchtext.ToLower()));
            OrderList.EndRefresh();
        }