H.DynamicColumns.Uwp 0.9.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package H.DynamicColumns.Uwp --version 0.9.10
NuGet\Install-Package H.DynamicColumns.Uwp -Version 0.9.10
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.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add H.DynamicColumns.Uwp --version 0.9.10
#r "nuget: H.DynamicColumns.Uwp, 0.9.10"
#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 H.DynamicColumns.Uwp as a Cake Addin
#addin nuget:?package=H.DynamicColumns.Uwp&version=0.9.10

// Install H.DynamicColumns.Uwp as a Cake Tool
#tool nuget:?package=H.DynamicColumns.Uwp&version=0.9.10

H.DynamicColumns

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

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 469 8/11/2022
0.9.22 443 7/11/2022
0.9.21 417 6/23/2022
0.9.20 461 2/9/2022
0.9.18 515 11/12/2021
0.9.17 400 10/24/2021
0.9.15 381 10/23/2021
0.9.13 346 10/21/2021
0.9.12 321 10/21/2021
0.9.11 286 10/21/2021
0.9.10 280 10/21/2021
0.9.9 296 10/20/2021
0.9.8 330 9/29/2021
0.9.7 296 9/29/2021