H.DynamicColumns.Wpf 0.9.13

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

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

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

Install-Package H.DynamicColumns.Core
Install-Package H.DynamicColumns.Wpf
Install-Package H.DynamicColumns.Uno
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.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
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 729 8/11/2022
0.9.22 489 7/11/2022
0.9.21 448 6/23/2022
0.9.20 461 2/9/2022
0.9.18 564 11/12/2021
0.9.17 451 10/24/2021
0.9.15 412 10/23/2021
0.9.13 342 10/21/2021
0.9.12 344 10/21/2021
0.9.11 304 10/21/2021
0.9.10 306 10/21/2021
0.9.9 311 10/20/2021
0.9.8 354 9/29/2021
0.9.7 299 9/29/2021
0.9.4 318 9/29/2021