H.DynamicColumns.Uwp 0.9.23

dotnet add package H.DynamicColumns.Uwp --version 0.9.23
                    
NuGet\Install-Package H.DynamicColumns.Uwp -Version 0.9.23
                    
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="H.DynamicColumns.Uwp" Version="0.9.23" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="H.DynamicColumns.Uwp" Version="0.9.23" />
                    
Directory.Packages.props
<PackageReference Include="H.DynamicColumns.Uwp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add H.DynamicColumns.Uwp --version 0.9.23
                    
#r "nuget: H.DynamicColumns.Uwp, 0.9.23"
                    
#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.
#addin nuget:?package=H.DynamicColumns.Uwp&version=0.9.23
                    
Install H.DynamicColumns.Uwp as a Cake Addin
#tool nuget:?package=H.DynamicColumns.Uwp&version=0.9.23
                    
Install H.DynamicColumns.Uwp as a Cake Tool

H.DynamicColumns

Language License Requirements Requirements Requirements Build Status

Adds support for dynamic columns to DataGrid for WPF/UWP/Uno platforms.

NuGet

NuGet NuGet NuGet NuGet NuGet

Install-Package H.DynamicColumns.Core
Install-Package H.DynamicColumns.Wpf
Install-Package H.DynamicColumns.Uno
Install-Package H.DynamicColumns.Uno.WinUI
Install-Package H.DynamicColumns.Uwp

Usage

  1. Install H.DynamicColumns.Core to your core project that contains ViewModels.
  2. Add property like this public IReadOnlyCollection<DynamicColumn> DynamicColumns { get; } to your ViewModel contains DataGrid ItemsSource. Your DynamicColumns should contain:
new DynamicColumn
{
    Header = "Header",
    BindingPath = $"Values[{index}]",
}

where

public class ItemViewModel
{
    public ObservableCollection<string> Values { get; } = new();
}
  1. Bind in your platform project:
<DataGrid dynamicColumns:DataGridExtensions.DynamicColumns="{Binding DynamicColumns}">

where

xmlns:dynamicColumns="clr-namespace:H.DynamicColumns;assembly=H.DynamicColumns.Wpf"

Contacts

Product Compatible and additional computed target framework versions.
Universal Windows Platform uap10.0.18362 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.9.23 525 8/11/2022
0.9.22 494 7/11/2022
0.9.21 468 6/23/2022
0.9.20 516 2/9/2022
0.9.18 569 11/12/2021
0.9.17 455 10/24/2021
0.9.15 436 10/23/2021
0.9.13 404 10/21/2021
0.9.12 376 10/21/2021
0.9.11 339 10/21/2021
0.9.10 339 10/21/2021
0.9.9 352 10/20/2021
0.9.8 392 9/29/2021
0.9.7 351 9/29/2021

⭐ Last 10 features:
- feat: To latest DependencyPropertyGenerator. 2022-08-11
- feat: Updated NuGet packages. 2022-07-11
- feat: To DependencyPropertyGenerator. 2022-06-23
- feat: Updated NuGet packages. Released Uno.WinUI. 2022-02-08
- feat: Added ContinuousIntegrationBuild. 2021-11-13
- feat: Added CLSCompliantFalse. 2021-11-13
- feat: Changed UWP version to 16299. 2021-11-13
- feat: Added WinUI package. 2021-11-13
- feat: To C# 10. 2021-10-24
- feat: Added empty WPF example project. 2021-10-23

🐞 Last 10 bug fixes:
- fix: Fixed CI. 2022-02-09
- fix: Fixed UWP version to 18362. 2021-11-13
- fix: Fixed UWP version to 17763. 2021-11-13
- fix: Fixed Uwp project target. 2021-10-24
- fix: Fixed namespaces. 2021-10-23
- fix: Added null guards to Get/Set DynamicColumnsProperty. 2021-10-23
- fix: To C# 9. 2021-09-29
- fix: Added sdk to global.json. 2021-09-29
- fix: Fixed ci msbuild step. 2021-09-29
- fix: Fixed README missing issue. 2021-09-29