public override void EndInit() { //base.EndInit(); //uxContainer.DataContext = user; base.EndInit(); var sample1 = new Sample1Entities(); sample1.Users.Load(); uxList.ItemsSource = sample1.Users.Local; }