![]() |
VOOZH | about |
dotnet add package C1.DataCollection --version 10.0.20261.3
NuGet\Install-Package C1.DataCollection -Version 10.0.20261.3
<PackageReference Include="C1.DataCollection" Version="10.0.20261.3" />
<PackageVersion Include="C1.DataCollection" Version="10.0.20261.3" />Directory.Packages.props
<PackageReference Include="C1.DataCollection" />Project file
paket add C1.DataCollection --version 10.0.20261.3
#r "nuget: C1.DataCollection, 10.0.20261.3"
#:package C1.DataCollection@10.0.20261.3
#addin nuget:?package=C1.DataCollection&version=10.0.20261.3Install as a Cake Addin
#tool nuget:?package=C1.DataCollection&version=10.0.20261.3Install as a Cake Tool
The ComponentOne DataCollection library includes a series of cross-platform observable collections with features like sorting, grouping and filtering and data virtualization techniques like cursor and pagination.
Commonly Used Types:
C1DataCollection is the main class used to sort, filter and group any in memory collection like lists, arrays or observable collection
var collection = new ObservableCollection<Item>();
var dc = new C1DataCollection<Item>(collection);
await dc.SortAsync("Property1", "Property2");
All the data-collections implement INotifyCollectionChanged, when a change happens in the underlying ObservableCollection, the change will be reflected and notified immediatly in the data-collection.
Similarly, the C1DataCollection can be grouped and filtered
var collection = new ObservableCollection<Item>();
var dc = new C1DataCollection<Item>(collection);
await dc.GroupAsync("Property1");
var collection = new ObservableCollection<Item>();
var dc = new C1DataCollection<Item>(collection);
await dc.FilterAsync("Property1", FilterOperation.Contains, "X");
C1VirtualDataCollection and C1CursorDataCollection are two abstract collection that can be used to implement collection whose items are pulled on demand from an external source, typically a network call.
public class YouTubeCollectionView : C1CursorDataCollection<YouTubeVideo>
{
protected override async Task<Tuple<string, IReadOnlyList<YouTubeVideo>>> GetPageAsync(int startingIndex, string pageToken, int? count = null, IReadOnlyList<SortDescription> sortDescriptions = null, FilterExpression filterExpresssion = null, CancellationToken cancellationToken = default(CancellationToken))
{
var client = new HttpClient();
var response = await client.GetAsync(youtubeUrl, cancellationToken);
var videos = new List<YouTubeVideo>();
var serializer = new DataContractJsonSerializer(typeof(YouTubeSearchResult));
var result = serializer.ReadObject(await response.Content.ReadAsStreamAsync()) as YouTubeSearchResult;
foreach (var item in result.Items)
{
videos.Add(new YouTubeVideo(item));
}
return new Tuple<string, IReadOnlyList<YouTubeVideo>>(result.NextPageToken, videos);
}
}
There are a series of data collections that can be used to compose other collections
Built-in extensions ease the creation of data collections from know sources like EntityFrameworkCore, Ado.Net and BindingList.
Built-in adapters are used to binding data-collections to native controls.
C1.DataCollection.Serialization includes System.Text.Json converters to serialize and deserialize filter, sort and notification classes to Json.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on C1.DataCollection:
| Package | Downloads |
|---|---|
|
C1.DataCollection.BindingList
DataCollection.BindingList allows using any IBindingListView, including DataTable views, as the source of controls supporting C1.DataCollection. Commonly Used Types: C1.DataCollection.BindingList.C1DataCollectionBindingList |
|
|
C1.WPF.DataCollection
This library allow using any C1.DataCollection as the source of any WPF control by implementing ICollectionView. Commonly Used Types: C1.WPF.DataCollection.C1CollectionView C1.WPF.DataCollection.C1CollectionViewDataCollection |
|
|
C1.Android.Grid
The ComponentOne Android FlexGrid is a fast datagrid that provides tabular data editing, sorting, filtering, grouping, and more. |
|
|
C1.Blazor.Core
The Core library includes common classes and controls. |
|
|
C1.Android.Chart
FlexChart is a Cartesian chart control. Supports line, area, scatter, bubble, candle, column, bar and HLOC financial chart types. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.20261.3 | 2,196 | 5/29/2026 |
| 10.0.20252.4 | 5,844 | 2/12/2026 |
| 10.0.20252.3 | 7,080 | 12/1/2025 |
| 9.0.20252.2 | 801 | 12/1/2025 |
| 9.0.20251.213 | 5,559 | 8/5/2025 |
| 9.0.20251.211 | 913 | 7/11/2025 |
| 9.0.20251.210 | 890 | 5/16/2025 |
| 9.0.20242.209 | 6,537 | 2/11/2025 |
| 9.0.20242.202-preview | 445 | 11/9/2024 |
| 8.0.20242.205 | 7,067 | 12/11/2024 |
| 8.0.20242.201 | 8,547 | 11/2/2024 |
| 8.0.20241.197 | 24,320 | 9/3/2024 |
| 8.0.20241.194 | 4,021 | 7/8/2024 |
| 8.0.20241.192 | 8,019 | 5/29/2024 |
| 8.0.20233.180 | 1,582 | 1/25/2024 |
| 8.0.20233.177 | 1,087 | 11/21/2023 |
| 8.0.20233.176 | 664 | 11/10/2023 |
| 7.0.20233.175 | 15,890 | 11/9/2023 |
| 7.0.20233.174 | 1,943 | 11/8/2023 |
| 1.0.20232.164 | 2,811 | 8/2/2023 |