が続いたときに、私は、WPFビジーインジケータを使用してのViewModelからそのIsbusy
プロパティを設定しています表示されません。アフターセッティングIsbusy
プロパティICollectionview
をフィルタリングしてUIにプッシュしたい。私ははApplication.Current.Dispatcher.BeginInvokeコード
IsBusy = true;
await Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background,
new System.Action(() =>
{
this.MyCollectionView.Filter = item =>
{
Iitem IdName = item as Iitem;
return Regex.IsMatch(IdName.Name, SearchText, RegexOptions.IgnoreCase);
};
}));
回避策に入れている。このFilter
操作は:私はIsBusy
を設定した後Task.Delay(200).Wait();
を置く場合は、ビジーインジケータは、いくつかのケースのために表示されます。
はこの**
**は、WPFで何を示していますか? – ViVi