Dirkster.SuggestBoxLib 1.2.1

dotnet add package Dirkster.SuggestBoxLib --version 1.2.1                
NuGet\Install-Package Dirkster.SuggestBoxLib -Version 1.2.1                
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="Dirkster.SuggestBoxLib" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dirkster.SuggestBoxLib --version 1.2.1                
#r "nuget: Dirkster.SuggestBoxLib, 1.2.1"                
#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.
// Install Dirkster.SuggestBoxLib as a Cake Addin
#addin nuget:?package=Dirkster.SuggestBoxLib&version=1.2.1

// Install Dirkster.SuggestBoxLib as a Cake Tool
#tool nuget:?package=Dirkster.SuggestBoxLib&version=1.2.1                

Build status Release NuGet

Net4 NetCore3

The SuggestBox control in this repository was originally developed by <b>Leung Yat Chun Joseph <a href="https://github.com/lycj">lycj</a></b> in his FileExplorer application originating from CodePlex and <a href="https://www.codeproject.com/Members/Fainx">CodeProject</a>.

SuggestBoxLib

<h2><img src="https://raw.githubusercontent.com/Dirkster99/Docu/master/SuggestBoxLib/icons/AutoComplete_64x.png" height="64"/> Overview</h2>

A WPF Dark/Light AutoComplete TextBox that can easily handle 20.000+ entries.

This project implements a WPF Dark/Light AutoComplete TextBox that can easily handle 20.000+ entries in the list of suggestions. The screenshots below show a dark themed demo appliaction with a classic AutoComplete use case for browsing the file system. This control can also be used to browse other data structures since the data processing is implemented in the ViewModel/Model layers of the MVVM demo app, while the control itself is limited to the view.

Review the Wiki section to find out more details of the available API.

This control is also used in a Metro Breadcrumb control.

The first two screenshots show how a seperate combobox like drop down control can be used to select an entry from a list of recently visited locations (bound to a collection in the viewmodel): alternate text is missing from this package README image

alternate text is missing from this package README image

A selection of a recently visited location can be used as a starting point to follow up with more suggestions: alternate text is missing from this package README image

alternate text is missing from this package README image

The control can shorten text that is too long for display by inserting ellipses '...' on the:

  • left
  • right or in the
  • center

of a given string. This display is available only if the control is not currently focused. alternate text is missing from this package README image

User Feedback

The control implements a NextTargetLocationArgs event that can be raised via enter/escape key in the textbox control to support keyboard gestures to confirm/cancel editing of a location.

alternate text is missing from this package README image

Error Feedback

The control can show a red rectangle if the user types a completely unmatchable string. This red rectangle can be triggered with the property attached to the checkbox in the demo application.

alternate text is missing from this package README image

Highlighting Color and Themes

Screenshot in this repository where done with this highlighting color on Windows 10: alternate text is missing from this package README image

A Dark/Light themed demo application and a Generic application are part of this repository.

alternate text is missing from this package README image

Load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/SuggestBoxLib;component/Themes/DarkBrushes.xaml" />
    </ResourceDictionary.MergedDictionaries>
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/SuggestBoxLib;component/Themes/LightBrushes.xaml" />
    </ResourceDictionary.MergedDictionaries>

These definitions do not theme all controls used within this library. You should use a standard theming library, such as:

to also theme standard elements, such as, button and textblock etc.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Dirkster.SuggestBoxLib:

Package Downloads
WolvenKit.ExplorerControl

Provides a WPF/MVVM AutoComplete control

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 2,106 9/7/2019
1.2.0 535 9/7/2019
1.1.1.1 647 5/20/2019
1.1.1 581 5/18/2019
1.1.0 584 5/17/2019
1.0.1 993 1/22/2019
1.0.0 865 1/19/2019

Package Update with support based on .NetCore 3 Preview 8 and .Net4.5.2