I looked at the sample. You can see my code behind.
SupplierServices me = new SupplierServices();
BackgroundWorker myworker = new BackgroundWorker();
this.anjbusyindicator.IsBusy = true;
myworker.DoWork += this.WorkerDoWork;
myworker.RunWorkerCompleted += WorkerRunWorkerCompleted;
private void WorkerDoWork(object sender, DoWorkEventArgs e)
e.Result = loadproducts();
private bool loadproducts()
this.tileView1.ItemsSource = me.AnjSuppliers;
void WorkerRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
I am not sure what I should code in WorkerRunWorkerCompleted!!!
The code above display the busyindicator but doesn't load the data and indicator shows forever.
I do appreciate your help here.