57 lines
5.1 KiB
Markdown
57 lines
5.1 KiB
Markdown
# SimpleToolkit.UI.WinUI.Behaviors
|
|
|
|
### Set of helpers, class extensions, UI controls used in my other C# projects
|
|
|
|
SimpleToolkit is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. UI.WinUI.Behaviors subpackage contains XAML action triggers for WinUI applications.
|
|
|
|
---
|
|
|
|
## NuGet registry status
|
|
|
|
| Subpackage | Status |
|
|
|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| **SimpleToolkit.UI.WinUI.Behaviors** | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.behaviors/) |
|
|
| SimpleToolkit.Extensions | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.extensions/) |
|
|
| SimpleToolkit.Attributes | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.attributes/) |
|
|
| SimpleToolkit.MVVM | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.mvvm/) |
|
|
| SimpleToolkit.UI.Models | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.models/) |
|
|
| SimpleToolkit.UI.WinUI.Converters | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.converters/) |
|
|
| SimpleToolkit.UI.WinUI.Controls | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.controls/) |
|
|
| SimpleToolkit.UI.WinUI.Helpers | [](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.helpers/) |
|
|
|
|
## Features
|
|
|
|
- **EventToCommandBehavior** - allows to bind parametrized command to any event
|
|
|
|
## Dependencies
|
|
|
|
Dependencies should be installed automatically with this package
|
|
|
|
- Microsoft.Xaml.Behaviors.WinUI.Managed 2.0.9
|
|
|
|
## Installation and usage
|
|
|
|
To download package from organization package registry, you have to add new NuGet package source. You will need access details, which you can obtain by contacting the repository owner. You can also download .nupkg file from repository Releases page.
|
|
|
|
**CLI:**
|
|
|
|
```
|
|
dotnet nuget add source --name SimpleToolkit --username <username> --password <password> https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
|
|
dotnet add package --source SimpleToolikt SimpleToolkit.UI.WinUI.Behaviors
|
|
```
|
|
|
|
**Package reference in .csproj file:**
|
|
|
|
```
|
|
<PackageReference Include="SimpleToolkit.UI.WinUI.Behaviors" Version="<version>" />
|
|
```
|
|
|
|
## Attribution and contribution
|
|
|
|
This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license [here](https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors/src/branch/main/LICENSE).
|
|
|
|
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
|
|
|
|
**Other sources:**
|
|
|
|
- Icon by [Icons8](icons8.com) |