UltraflowTech.AutoCompleteComboBox 1.0.4

dotnet add package UltraflowTech.AutoCompleteComboBox --version 1.0.4
                    
NuGet\Install-Package UltraflowTech.AutoCompleteComboBox -Version 1.0.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="UltraflowTech.AutoCompleteComboBox" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UltraflowTech.AutoCompleteComboBox" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="UltraflowTech.AutoCompleteComboBox" />
                    
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 UltraflowTech.AutoCompleteComboBox --version 1.0.4
                    
#r "nuget: UltraflowTech.AutoCompleteComboBox, 1.0.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 UltraflowTech.AutoCompleteComboBox@1.0.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=UltraflowTech.AutoCompleteComboBox&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=UltraflowTech.AutoCompleteComboBox&version=1.0.4
                    
Install as a Cake Tool

WPF AutoComplete ComboBox Control

A feature-rich, production-ready AutoComplete ComboBox control for WPF applications with advanced filtering capabilities.

Features

  • ๐Ÿ” Multiple Filter Modes: Contains, StartsWith, and Equals filtering
  • โšก Debounced Search: Optimized performance for real-time filtering
  • โŒจ Keyboard Navigation: Full support for Enter, Escape, and Backspace
  • ๐Ÿงผ Clean Resource Management: Proper IDisposable implementation
  • ๐ŸŽจ Customizable UI: Control fonts, sizes, borders, and dropdown behavior
  • ๐Ÿ”— MVVM Support: Two-way data binding and command support
  • ๐Ÿ“ฆ Easy Integration: Available as NuGet package

Installation

dotnet add package UltraflowTech.AutoCompleteComboBox

<Window x:Class="MyApp.MainWindow"
        xmlns:acb="clr-namespace:UltraflowTech.Controls;assembly=UltraflowTech.AutoCompleteComboBox">
    <acb:AutoCompleteComboBox x:Name="comboBox" Width="300"/>
</Window>

public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        
        // Setup data
        comboBox.ItemsSource = new List<SearchModel>
        {
            new SearchModel { DisplayField = "Apple", ValueFieldInt = 1, StringFeild1 = "Apple", },
            new SearchModel { DisplayField = "Banana", ValueFieldInt = 2 ,StringFeild1 = "Banana",},
            new SearchModel { DisplayField = "Cherry", ValueFieldInt = 3 ,StringFeild1 = "Cherry", }
        };
        
        comboBox.DisplayMemberPath = "DisplayField";
        comboBox.SelectedValuePath = "ValueFieldInt";
        
        // Handle selection
        comboBox.SelectionChanged += (s,e) => 
        {
            if (comboBox.SelectedItem is SearchModel selected)
            {
                MessageBox.Show($"Selected: {selected.DisplayField} (ID: {selected.ValueFieldInt})");
            }
        };
    }
}

Custom Filtering

comboBox.PreviewTextInput += (sender, e) => 
{
    comboBox.ApplyFilter(item => 
    {
        var searchItem = (SearchModel)item;
        return searchItem.DisplayField.Contains(comboBox.Text, StringComparison.OrdinalIgnoreCase)
            || searchItem.StringFeild1?.StartsWith(comboBox.Text) == true;
    });
};
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.

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
1.0.4 140 6/4/2025
1.0.3 137 6/4/2025
1.0.2 137 6/4/2025
1.0.1 138 6/4/2025
1.0.0 140 6/4/2025