public CreatePlayerPage(ref SQLBase db) { editMode = false; InitializeComponent(); myBaseSqlite = db; playerViewModel = new Players(db); playerViewModel.Collection(); LoadItemSource(); }
public void LoadItemSource() { playerViewModel.Collection(); players_list.ItemsSource = playerViewModel.playerObservable; }