DataFilter.WinForms 1.1.4

dotnet add package DataFilter.WinForms --version 1.1.4
                    
NuGet\Install-Package DataFilter.WinForms -Version 1.1.4
                    
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="DataFilter.WinForms" Version="1.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DataFilter.WinForms" Version="1.1.4" />
                    
Directory.Packages.props
<PackageReference Include="DataFilter.WinForms" />
                    
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 DataFilter.WinForms --version 1.1.4
                    
#r "nuget: DataFilter.WinForms, 1.1.4"
                    
#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.
#:package DataFilter.WinForms@1.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DataFilter.WinForms&version=1.1.4
                    
Install as a Cake Addin
#tool nuget:?package=DataFilter.WinForms&version=1.1.4
                    
Install as a Cake Tool

DataFilter.WinForms

Windows Forms specialization of DataFilter: filter bar chrome, popup controls, and header behaviors. Grid hosting lives in DataFilter.WinForms.PopupHost.

Visual customization: CUSTOMIZATION.md — WinForms

NuGet integration

Install the packages

dotnet add package DataFilter.WinForms
dotnet add package DataFilter.WinForms.PopupHost

Use DataFilter.WinForms.PopupHost for FilterableDataGrid or DataGridViewFilterAdapter.Attach on an existing grid.

Target frameworks

net8.0-windows, net9.0-windows

Dependencies (transitive)

DataFilter.Core, DataFilter.Filtering.ExcelLike, DataFilter.PlatformShared, DataFilter.Localization

Quick start

using DataFilter.PlatformShared.ColumnFilter;
using DataFilter.PlatformShared.ViewModels;
using DataFilter.WinForms.PopupHost;

var vm = new FilterableDataGridViewModel<Employee>
{
    LocalDataSource = employees
};
await vm.RefreshDataAsync();

var grid = new FilterableDataGrid
{
    Dock = DockStyle.Fill,
    AutoGenerateColumns = true,
    ViewModel = vm,
    AreColumnFiltersEnabled = true,
    ColumnFilterTriggerMode = ColumnFilterTriggerMode.HeaderRightClick,
};
grid.DataSource = vm.FilteredItems.Cast<Employee>().ToList();

vm.PropertyChanged += (_, e) =>
{
    if (e.PropertyName == nameof(vm.FilteredItems))
        grid.DataSource = vm.FilteredItems.Cast<Employee>().ToList();
};

Controls.Add(grid);

Optional filter bar — wrap with FilterGridChromeControl and set ShowFilterBar = true (see DataFilter.PlatformShared README).

Pipeline presets:

await vm.ApplyFilterPipelineSnapshotAsync(vm.CreateFilterPipelineSnapshot());

Controls

  • FilterGridChromeControl — hosts optional FilterBarControl above grid content.
  • FilterBarControl — active-filters chip bar (enable via chrome host).
  • FilterPopupControl — column filter popup surface.
  • FilterHeaderBehavior — attach filtering to column headers on a custom grid.

Localization

Popup UI texts come from DataFilter.Localization.

using System.Globalization;
using DataFilter.Localization;

LocalizationManager.Instance.SetCulture(new CultureInfo("fr"));

Per-grid culture: IFilterableDataGridViewModel.CultureOverride.

Theming

Popup colors are not hardcoded. Use FilterTheme from PlatformShared:

using DataFilter.PlatformShared.Theming;
using DataFilter.WinForms.Controls;

FilterTheme.Current = FilterTheme.Dark.With(primaryColor: "#007ACC");

// Applied automatically when the popup opens, or call explicitly:
popup.ApplyTheme();
popup.ApplyTheme(myCustomTheme);
popup.ApplyTheme(isDark: true); // shorthand → Light / Dark preset
API Role
FilterTheme.Current Application-wide palette
FilterPopupControl.ApplyTheme(FilterTheme?) Apply to an open popup
FilterThemeApplier.ToDrawingColor Convert #RRGGBB → System.Drawing.Color

Resource key mapping and full palette: CUSTOMIZATION.md — WinForms.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DataFilter.WinForms:

Package Downloads
DataFilter.WinForms.PopupHost

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.4 121 6/9/2026
1.1.3 116 6/8/2026
1.1.2 116 6/8/2026
1.1.1 115 6/5/2026
1.1.0 115 6/4/2026