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" />
<PackageReference Include="UltraflowTech.AutoCompleteComboBox" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=UltraflowTech.AutoCompleteComboBox&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.