Coder Social home page Coder Social logo

morbitz / ak.toolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrewkeepcoding/ak.toolkit

1.0 0.0 0.0 241 KB

The AK.Toolkit will be a collection of controls, helpers, etc... stuff that I needed to use but couldn't find somewhere else.

License: MIT License

C# 100.00%

ak.toolkit's Introduction

๐Ÿงฐ AK.Toolkit

The AK.Toolkit will be a collection of controls, helpers, etc... stuff that I need but couldn't find somewhere else.

๐Ÿ”ต WinUI 3

๐ŸŒ Localizer

๐ŸŽฌ YouTube

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)

๐ŸŽฌ YouTube

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

๐ŸŽฌ YouTube

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}" />

AutoCompleteTextBox Screenshot

๐Ÿ› ๏ธ Utilities

๐Ÿงฉ RandomStringGenerator

๐ŸŽฌ YouTube

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);

ak.toolkit's People

Contributors

alexanderblackman avatar andrewkeepcoding avatar ghost1372 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.