H.DynamicColumns.WinUI
0.9.18
See the version list below for details.
dotnet add package H.DynamicColumns.WinUI --version 0.9.18
NuGet\Install-Package H.DynamicColumns.WinUI -Version 0.9.18
<PackageReference Include="H.DynamicColumns.WinUI" Version="0.9.18" />
paket add H.DynamicColumns.WinUI --version 0.9.18
#r "nuget: H.DynamicColumns.WinUI, 0.9.18"
// Install H.DynamicColumns.WinUI as a Cake Addin #addin nuget:?package=H.DynamicColumns.WinUI&version=0.9.18 // Install H.DynamicColumns.WinUI as a Cake Tool #tool nuget:?package=H.DynamicColumns.WinUI&version=0.9.18
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. |
---|---|
.NET | net5.0-windows10.0.18362 is compatible. net6.0-windows was computed. net6.0-windows10.0.18362 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
-
net5.0-windows10.0.18362
- CommunityToolkit.WinUI.UI.Controls.DataGrid (>= 7.1.1-preview3.1)
- H.DynamicColumns.Core (>= 0.9.18)
-
net6.0-windows10.0.18362
- CommunityToolkit.WinUI.UI.Controls.DataGrid (>= 7.1.1-preview3.1)
- H.DynamicColumns.Core (>= 0.9.18)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
⭐ Last 10 features:
- 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
- feat: Updated README. 2021-10-21
- feat: Added Uno support. 2021-09-29
- feat: Added auto-releasing. 2021-09-29
- feat: Initial commit. 2021-09-29
🐞 Last 10 bug fixes:
- 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
- fix: Added auto-releasing for WPF version. 2021-09-29