WpfToolkitAutoCompleteBoxExtended 1.0.0

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

WpfToolkitAutoCompleteBoxExtended

The WPF Toolkit AutoCompleteBox (Ms-PL) packaged for .NET 8 and .NET Framework 4.8, with popup sizing/placement fixes and OS-theme-aware default colors.

Install

dotnet add package WpfToolkitAutoCompleteBoxExtended

Usage

xmlns:input="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"

<input:AutoCompleteBox ItemsSource="{Binding Items}"
                       Text="{Binding Text, Mode=TwoWay}" />

Theming

The default style takes its colors from SystemColors (DynamicResource, so they follow the OS theme). A host application overrides them with its own Style. WPF looks up implicit styles by the EXACT runtime type, so a control derived from AutoCompleteBox needs a style keyed to its own type.

Template parts

Text (TextBox), Popup (Popup) and Selector (Selector/ListBox) are a public contract of the control template; custom templates must keep these names. SelectionAdapter is an optional part.

Changes vs WPF Toolkit

  • The popup's size limits are computed from the window that actually hosts the control (found via the visual tree), not from Application.Current.Windows[0].
  • The popup width is not pinned: it follows the content between the field's width (minimum) and the host window's width (maximum), so long items are not truncated.
  • The popup closes when the host window moves (a WPF Popup does not follow it); the subscription is released on close and on template change.
  • Default colors come from SystemColors instead of fixed literals.

Compatibility

The assembly name is the original WPF Toolkit DLL's (System.Windows.Controls.Input.Toolkit). Do not reference this package together with WPFToolkit / DotNetProjects.WpfToolkit.Input or anything else shipping a same-named DLL.

Releasing

git tag vX.Y.Z && git push origin vX.Y.Z

The release workflow takes the package version from the tag. Published versions are immutable.

Origin

Derived from the WPF Toolkit AutoCompleteBox, (c) Microsoft Corporation, released under the Microsoft Public License (Ms-PL).

License

Ms-PL

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

    • No dependencies.
  • net8.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.0 112 10/22/2026