Show Progressbar when loading data using EntityFrameWork in WPF
问题 I want to show the progress of Data being fetched from Database in a Progressbar . Currently i am updating the content of a Button . Have no idea how to implement in this code . private async void FetchInvoicesDataFunc(object sender, RoutedEventArgs e) { ProgressBtn.Content = "Loading Data ..."; InvoiceGrid.ItemsSource = await Task.Run(FetchInvoiceDataAsync); ProgressBtn.Content = "Loaded !"; } private async Task<List<Invoice>> FetchInvoiceDataAsync() { List<Invoice> result; using(var context