Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AndrewKeepCoding/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.
https://github.com/AndrewKeepCoding/AK.Toolkit
customcontrols helpers winui3
Last synced: 3 days ago
JSON representation
The AK.Toolkit will be a collection of controls, helpers, etc... stuff that I needed to use but couldn't find somewhere else.
- Host: GitHub
- URL: https://github.com/AndrewKeepCoding/AK.Toolkit
- Owner: AndrewKeepCoding
- License: mit
- Created: 2022-04-18T13:19:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T12:41:52.000Z (7 months ago)
- Last Synced: 2024-05-18T06:03:15.363Z (6 months ago)
- Topics: customcontrols, helpers, winui3
- Language: C#
- Homepage:
- Size: 1.07 MB
- Stars: 39
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- WinUI-3-Apps-List - AK.Toolkit
README
# π§° 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
### βΊοΈ ButtonExtensions
[π¬ YouTube](https://youtu.be/3PX2oLuqEqA?si=BCg9dpG2Oq-RvJHU)
Provides additional features for the Button control:
- PointerOverBackgroundLightnessFactor
- PressedBackgroundLightnessFactor```xaml
```
### π RichTextBlockExtensions
Extensions that make it easier to highlight `RichTextBlock`.
```xaml
```![ScrollBar Extensions Annotations Screenshot](Assets/richtextblock-extensions-screenshot.png)
### π» AutoCompleteTextBox
[π¬ YouTube](https://youtu.be/G17jbGSXLnk)
A TextBox control that shows a suggestion based on input.
AutoCompleteTextBox shows a suggestion **inside** the TextBox control.```xaml
```
![AutoCompleteTextBox Screenshot](Assets/auto-complete-textbox-sample-screenshot.png)
### π’ NumberBoxEx
[π¬ YouTube](https://youtu.be/ai-koyvgbWY)
In addition to the built-in `NumberBox`:
- **NumberHorizontalAlignment** DependencyProperty
- **IsDeleteButtonVisible** DependencyPropertyComing soon:
- Thousand separators
- Comma
- Space### βοΈ ScrollBarExtensions.KeepExpanded
[π¬ YouTube](https://youtu.be/8m82fXl0LKk)
An attached property that keeps `ScrollBars` expanded.
```xaml
```
### βοΈ ScrollBarExtensions.Annotations
[π¬ YouTube](https://youtu.be/wa6_E_HpiMg)
An attached property that adds annotations to vertical `ScrollBars`.
First, you need to create a collection of your annotations that implements ``IAnnotation`` or just use the built-in ``BasicAnnotation``.
```csharp
public interface IAnnotation
{
double Value { get; }ValueType ValueType { get; }
Shape Shape { get; }
double LeftOffset { get; }
}public record BasicAnnotation : IAnnotation
{
public double Value { get; }public ValueType ValueType { get; set; }
public Shape Shape { get; private set; }
public double LeftOffset { get; set; }
public BasicAnnotation(double value, Shape shape)
{
Value = value;
Shape = shape;
}
}
```Then bind your annotations using ``ScrollBarExtensions.VerticalAnnotations`` attached property.
```xaml
```
![ScrollBar Extensions Annotations Screenshot](Assets/scrollbar-extensions-annotations-screenshot.png)