After I load the list of customers at a location, I want to select a particular customer as the current item. When I try to move to the current item, no item is selected. I have verified (through debugging) that the item I want to move to exists.
If I move to the current item
(CustomerList.MoveCurrentTo(CustomerList.CurrentItem) //it works but is senseless.
CustomerList is an ICollectionView.
My Question is "How do I move the current item focus to a specific item I choose?".
CustomerList = new CollectionView ( _service.GetCustomers().Where(l => l.LocationID == customer.LocationID));
var item = CustomerList.Cast<AlarmPermit.Entities.Customer>().Where(l => l.BRKey == 52151).Single();
CustomerList.MoveCurrentTo(item);