H.DynamicColumns.Uwp
0.9.13
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package H.DynamicColumns.Uwp --version 0.9.13
NuGet\Install-Package H.DynamicColumns.Uwp -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.Uwp" 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.Uwp --version 0.9.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: H.DynamicColumns.Uwp, 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.Uwp as a Cake Addin #addin nuget:?package=H.DynamicColumns.Uwp&version=0.9.13 // Install H.DynamicColumns.Uwp as a Cake Tool #tool nuget:?package=H.DynamicColumns.Uwp&version=0.9.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
H.DynamicColumns
Adds support for dynamic columns to DataGrid for WPF/UWP/Uno platforms.
NuGet
Install-Package H.DynamicColumns.Core
Install-Package H.DynamicColumns.Wpf
Install-Package H.DynamicColumns.Uno
Install-Package H.DynamicColumns.Uwp
Usage
- Install
H.DynamicColumns.Core
to your core project that contains ViewModels. - 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();
}
- Bind in your platform project:
<DataGrid dynamicColumns:DataGridExtensions.DynamicColumns="{Binding DynamicColumns}">
where
xmlns:dynamicColumns="clr-namespace:H.DynamicColumns;assembly=H.DynamicColumns.Wpf"
Contacts
Product | Versions 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.
-
UAP 10.0.18362
- H.DynamicColumns.Core (>= 0.9.13)
- Microsoft.Toolkit.Uwp.UI.Controls.DataGrid (>= 7.0.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 |
---|---|---|
0.9.23 | 496 | 8/11/2022 |
0.9.22 | 469 | 7/11/2022 |
0.9.21 | 443 | 6/23/2022 |
0.9.20 | 484 | 2/9/2022 |
0.9.18 | 537 | 11/12/2021 |
0.9.17 | 423 | 10/24/2021 |
0.9.15 | 402 | 10/23/2021 |
0.9.13 | 371 | 10/21/2021 |
0.9.12 | 345 | 10/21/2021 |
0.9.11 | 308 | 10/21/2021 |
0.9.10 | 305 | 10/21/2021 |
0.9.9 | 319 | 10/20/2021 |
0.9.8 | 360 | 9/29/2021 |
0.9.7 | 318 | 9/29/2021 |