Large data and realtime append data with mvvm like use ObservableCollection or Rad
ObservableCollection, it will deny UI for some seconds. Large data mean the list count greater than 200k even 1000k.
Some sence like follow:
a gridview binding vm.list. then vm.list.Add(data) and list.Count is greater than 200k. UI lags. list is ObservableCollection
a chart series bind a vm.chartseries[0]. then vm.chartseries[0].Add(data) .
those are similar.
Could some controls have a nother mode to work without mvvm? like:
Task.Run(()=>{
gridview1.AppendData(data);
vm.LineSeries[0].MaxCount = 200000;
chart1.Series[0].AppendData(data);
//or
vm.LineSeries[0].AppendData(data);
})
In this mode ,controls can append data in other thread (not ui thread, and it can use a better performence collection class) quick and reflesh UI it self. And this mode have more potential for performance optimization