WpfToolkitAutoCompleteBoxExtended 1.0.0
dotnet add package WpfToolkitAutoCompleteBoxExtended --version 1.0.0
NuGet\Install-Package WpfToolkitAutoCompleteBoxExtended -Version 1.0.0
<PackageReference Include="WpfToolkitAutoCompleteBoxExtended" Version="1.0.0" />
<PackageVersion Include="WpfToolkitAutoCompleteBoxExtended" Version="1.0.0" />
<PackageReference Include="WpfToolkitAutoCompleteBoxExtended" />
paket add WpfToolkitAutoCompleteBoxExtended --version 1.0.0
#r "nuget: WpfToolkitAutoCompleteBoxExtended, 1.0.0"
#:package WpfToolkitAutoCompleteBoxExtended@1.0.0
#addin nuget:?package=WpfToolkitAutoCompleteBoxExtended&version=1.0.0
#tool nuget:?package=WpfToolkitAutoCompleteBoxExtended&version=1.0.0
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
Popupdoes not follow it); the subscription is released on close and on template change. - Default colors come from
SystemColorsinstead 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
| Product | Versions 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. |
-
.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 |