ObservableTable.IO
23.12.0-alpha0
This is a prerelease version of ObservableTable.IO.
dotnet add package ObservableTable.IO --version 23.12.0-alpha0
NuGet\Install-Package ObservableTable.IO -Version 23.12.0-alpha0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ObservableTable.IO" Version="23.12.0-alpha0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ObservableTable.IO --version 23.12.0-alpha0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ObservableTable.IO, 23.12.0-alpha0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ObservableTable.IO as a Cake Addin #addin nuget:?package=ObservableTable.IO&version=23.12.0-alpha0&prerelease // Install ObservableTable.IO as a Cake Tool #tool nuget:?package=ObservableTable.IO&version=23.12.0-alpha0&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ObservableTable
ObservableTable is a 2D data structure designed to bind to a WPF DataGrid, allowing DataGrids to add/remove both rows and columns by changing the underlying ObservableTable.
Features
- Allows multi-column collections
- Implements INotifyCollectionChanged and INotiftyPropertyChanged for both rows and columns
- Includes built-in undo and redo capabilities
- Provides a helper class to read from/write to CSV files
Installation
Class library (.dll
) available at releases.
In Visual Studio:
- Right-click your project
- Press Add > Project Reference
- Press Browse
- Import the
.dll
file
Usage
To initialize an ObservableTable:
ObservableTable<string> table = new(headers, records);
To import data from a CSV file:
ObservableTable<string> table = ObservableTableImporter.FromFilePath("path.csv");
To export data to a CSV file:
table.ToFile("path.csv");
Requirements
For ObservableTable.IO
only, not required for ObservableTable<T>
itself.
Contributing
Contributions are welcomed. Please open pull requests for changes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- CsvHelper (>= 30.0.1)
- ObservableTable (>= 23.12.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
23.12.0-alpha0 | 92 | 9/9/2023 |