AK.Toolkit.WinUI3.AutoCompleteTextBox
0.3.1-beta
See the version list below for details.
dotnet add package AK.Toolkit.WinUI3.AutoCompleteTextBox --version 0.3.1-beta
NuGet\Install-Package AK.Toolkit.WinUI3.AutoCompleteTextBox -Version 0.3.1-beta
<PackageReference Include="AK.Toolkit.WinUI3.AutoCompleteTextBox" Version="0.3.1-beta" />
paket add AK.Toolkit.WinUI3.AutoCompleteTextBox --version 0.3.1-beta
#r "nuget: AK.Toolkit.WinUI3.AutoCompleteTextBox, 0.3.1-beta"
// Install AK.Toolkit.WinUI3.AutoCompleteTextBox as a Cake Addin #addin nuget:?package=AK.Toolkit.WinUI3.AutoCompleteTextBox&version=0.3.1-beta&prerelease // Install AK.Toolkit.WinUI3.AutoCompleteTextBox as a Cake Tool #tool nuget:?package=AK.Toolkit.WinUI3.AutoCompleteTextBox&version=0.3.1-beta&prerelease
🧰 AK.Toolkit
The AK.Toolkit will be a collection of controls, helpers, etc... stuff that I needed to use but couldn't find somewhere else.
🔵 WinUI 3
🌏 Localizer
The Localizer helps you to localize your app.
- Switch languages without restarting the app
- You (users) can edit localized strings even after deployment
- You (users) can add new languages even after deployment
- Use the starndard Resources.resw
🏁 Grid Extensions - GridIndexer (GI)
An extensions that makes it easier to define rows and columns in Grid
.
For example, usually, you need to define the ColumnDefinitions
and the RowDefinitions
like below. You also need to set the Grid.Row
and Grid.Column
by INDEX which makes it difficult and error prone to modificate the order.
<Grid
ColumnDefinitions="*,*,*,*,*"
RowDefinitions="*,*,*,*,*">
<TextBlock Grid.Row="0" Grid.Column="0"/>
<TextBlock Grid.Row="1" Grid.Column="1"/>
<TextBlock Grid.Row="2" Grid.Column="2"/>
<TextBlock Grid.Row="3" Grid.Column="3"/>
<TextBlock Grid.Row="4" Grid.Column="4"/>
</Grid>
You can use GridIndexer (GI) and define your columns and rows like below.
<Grid>
<TextBlock GI.Row="0" GI.Column="0"/>
<TextBlock GI.Row="+1" GI.Column="+1"/>
<TextBlock GI.Row="+1" GI.Column="+1"/>
<TextBlock GI.Row="+1" GI.Column="+1"/>
<TextBlock GI.Row="+1" GI.Column="+1"/>
</Grid>
💻 AutoCompleteTextBox
A TextBox control that shows a suggestion based on input. AutoCompleteTextBox shows a suggestion inside the TextBox control.
<toolkit:AutoCompleteTextBox
IsSuggestionCaseSensitive="false"
SuggestionForeground="HotPink"
SuggestionPrefix="..."
SuggestionSuffix=" ? [Press Right]"
SuggestionsSource="{x:Bind Suggestions, Mode=OneWay}" />
🛠️ Utilities
🧩 RandomStringGenerator
A static class that generates random strings.
OutputType | Source |
---|---|
Numbers |
0123456789 |
Alphabets |
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz |
LowerCaseAlphabets |
abcdefghijklmnopqrstuvwxyz |
UpperCaseAlphabets |
ABCDEFGHIJKLMNOPQRSTUVWXYZ |
AlphaNumerics |
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 |
LowerCaseAlphaNumerics |
abcdefghijklmnopqrstuvwxyz0123456789 |
UpperCaseAlphaNumerics |
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
It's easy to use.
string randomString = RandomStringGenerator.GenerateString(
OutputType.AlphaNumerics,
minLength: 3,
maxLength: 10);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.19041 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
-
net6.0-windows10.0.19041
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22000.194)
- Microsoft.WindowsAppSDK (>= 1.0.0)
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 | 342 | 2/1/2023 |
0.3.1-beta | 172 | 5/4/2022 |
0.3.0-beta | 167 | 5/2/2022 |
0.2.0-beta | 180 | 4/25/2022 |
0.1.0-alpha | 174 | 4/21/2022 |
- Fix suggestion foreground visibility issue
- Fix vertical alignment issue between the Text and Placeholder