5 Commits
1.7.9 ... main

10 changed files with 92 additions and 109 deletions

View File

@@ -5,13 +5,13 @@ on:
branches:
- "dev"
paths:
- "SimpleToolkit.UI.WinUI.Behaviors**"
- "MSEssentials.UI.WinUI.Behaviors**"
pull_request:
branches:
- "dev"
- "main"
paths:
- "SimpleToolkit.UI.WinUI.Behaviors**"
- "MSEssentials.UI.WinUI.Behaviors**"
jobs:
build:
@@ -24,8 +24,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Add package source
run: dotnet nuget add source --name gitea --username SimpleToolkit --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
- name: Restore dependencies
run: dotnet restore
- name: Build

View File

@@ -8,7 +8,7 @@ on:
branches:
- "main"
paths:
- "SimpleToolkit.UI.WinUI.Behaviors**"
- "MSEssentials.UI.WinUI.Behaviors**"
jobs:
build:
@@ -21,8 +21,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Add package source
run: dotnet nuget add source --name gitea --username SimpleToolkit --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
- name: Restore dependencies
run: dotnet restore
- name: Build
@@ -62,15 +60,13 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Add package source
run: dotnet nuget add source --name gitea --username SimpleToolkit --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
- name: Create NuGet package
run: dotnet pack -c Release -p:Version=${{needs.version.outputs.version}} -p:PackageVersion=${{needs.version.outputs.version}} --output ./
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: nuget
path: ./SimpleToolkit.UI.WinUI.Behaviors.${{needs.version.outputs.version}}.nupkg
path: ./MSEssentials.UI.WinUI.Behaviors.${{needs.version.outputs.version}}.nupkg
outputs:
version: ${{needs.version.outputs.version}}
publish:
@@ -87,14 +83,12 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Add package source
run: dotnet nuget add source --name gitea --username SimpleToolkit --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
- name: Publish
run: dotnet nuget push ./SimpleToolkit.UI.WinUI.Behaviors.${{needs.pack.outputs.version}}.nupkg --source gitea --api-key ${{ secrets.PACKAGES_WRITE_TOKEN }} --skip-duplicate
run: dotnet nuget push ./MSEssentials.UI.WinUI.Behaviors.${{needs.pack.outputs.version}}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
- name: Create Release
uses: akkuman/gitea-release-action@v1
with:
tag_name: ${{needs.pack.outputs.version}}
name: ${{needs.pack.outputs.version}}
files: |-
SimpleToolkit.UI.WinUI.Behaviors.${{needs.pack.outputs.version}}.nupkg
MSEssentials.UI.WinUI.Behaviors.${{needs.pack.outputs.version}}.nupkg

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2026 SimpleToolkit
Copyright (c) 2026 Mateusz Skoczek
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including

View File

@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleToolkit.UI.WinUI.Behaviors", "SimpleToolkit.UI.WinUI.Behaviors\SimpleToolkit.UI.WinUI.Behaviors.csproj", "{4BB20CD6-F447-4E4E-A3F0-4FC0EE9A78B2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSEssentials.UI.WinUI.Behaviors", "MSEssentials.UI.WinUI.Behaviors\MSEssentials.UI.WinUI.Behaviors.csproj", "{4BB20CD6-F447-4E4E-A3F0-4FC0EE9A78B2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace SimpleToolkit.UI.WinUI.Behaviors
namespace MSEssentials.UI.WinUI.Behaviors
{
public class EventToCommandBehavior : Behavior<FrameworkElement>
{

View File

@@ -2,20 +2,20 @@
<PropertyGroup>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>SimpleToolkit.UI.WinUI.Behaviors</RootNamespace>
<RootNamespace>MSEssentials.UI.WinUI.Behaviors</RootNamespace>
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI>
<UseRidGraph>true</UseRidGraph>
<PackageReadmeFile>README.md</PackageReadmeFile>
<EnableCoreMrtTooling Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">false</EnableCoreMrtTooling>
<Nullable>enable</Nullable>
<Title>SimpleToolkit.UI.WinUI.Behaviors</Title>
<Title>MSEssentials.UI.WinUI.Behaviors</Title>
<Authors>Mateusz Skoczek</Authors>
<Copyright>Mateusz Skoczek</Copyright>
<PackageProjectUrl>https://repos.mateuszskoczek.com/SimpleToolkit/</PackageProjectUrl>
<PackageLicenseUrl>https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors/src/branch/main/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://repos.mateuszskoczek.com/MSEssentials/</PackageProjectUrl>
<PackageLicenseUrl>https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Behaviors/src/branch/main/LICENSE</PackageLicenseUrl>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors</RepositoryUrl>
<RepositoryUrl>https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Behaviors</RepositoryUrl>
<Description>Set of helpers, class extensions, UI controls used in my other C# projects - XAML action triggers for WinUI applications</Description>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>

View File

@@ -0,0 +1,55 @@
# MSEssentials.UI.WinUI.Behaviors
### Set of helpers, class extensions, UI controls used in my other C# projects
MSEssentials 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 |
|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **MSEssentials.UI.WinUI.Behaviors** | [![NuGet version (MSEssentials.UI.WinUI.Behaviors)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Behaviors.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/) |
| MSEssentials.Extensions | [![NuGet version (MSEssentials.Extensions)](https://img.shields.io/nuget/v/MSEssentials.Extensions.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.Extensions/) |
| MSEssentials.AspNetCore.Attributes | [![NuGet version (MSEssentials.AspNetCore.Attributes)](https://img.shields.io/nuget/v/MSEssentials.AspNetCore.Attributes.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/) |
| MSEssentials.UI.Common.MVVM | [![NuGet version (MSEssentials.UI.Common.MVVM)](https://img.shields.io/nuget/v/MSEssentials.UI.Common.MVVM.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/) |
| MSEssentials.UI.Common.Converters | [![NuGet version (MSEssentials.UI.Common.Converters)](https://img.shields.io/nuget/v/MSEssentials.UI.Common.Converters.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/) |
| MSEssentials.UI.WinUI.Converters | [![NuGet version (MSEssentials.UI.WinUI.Converters)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Converters.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/) |
| MSEssentials.UI.WinUI.Controls | [![NuGet version (MSEssentials.UI.WinUI.Controls)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Controls.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/) |
## 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
You can download package from official NuGet registry or .nupkg file itself from Releases tab.
**CLI:**
```
dotnet add package MSEssentials.UI.WinUI.Behaviors
```
**Package reference in .csproj file:**
```
<PackageReference Include="MSEssentials.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/MSEssentials/MSEssentials.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)

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -1,10 +1,10 @@
<p align="center"><img src=".gitea/readme/icon.png"/></p>
<h1 align="center">SimpleToolkit.UI.WinUI.Behaviors</h1>
<h1 align="center">MSEssentials.UI.WinUI.Behaviors</h1>
<h3 align="center"><b>Set of helpers, class extensions, UI controls used in my other C# projects</b></h3>
<p align="center">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.</p>
<p align="center">MSEssentials 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.</p>
---
@@ -13,7 +13,7 @@
> [!Important]
> **For Github users:**
>
> This is only mirror repository. All changes are first uploaded to the repository <a href="https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors">here</a>. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
> This is only mirror repository. All changes are first uploaded to the repository <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Behaviors">here</a>. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
## NuGet registry status
@@ -28,10 +28,10 @@
</tr>
<tr>
<td>
<b>SimpleToolkit.UI.WinUI.Behaviors</b>
<b>MSEssentials.UI.WinUI.Behaviors</b>
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.behaviors/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Behaviors.svg?style=flat-square"></a>
</td>
</tr>
<tr>
@@ -41,58 +41,50 @@
</tr>
<tr>
<td>
SimpleToolkit.Extensions
MSEssentials.Extensions
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.extensions/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.Extensions?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.Extensions/"><img src="https://img.shields.io/nuget/v/MSEssentials.Extensions.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.Attributes
MSEssentials.AspNetCore.Attributes
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.attributes/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.Attributes?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/"><img src="https://img.shields.io/nuget/v/MSEssentials.AspNetCore.Attributes.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.MVVM
MSEssentials.UI.Common.MVVM
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.mvvm/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.MVVM?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.MVVM.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.Models
MSEssentials.UI.Common.Converters
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.models/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.Models?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.Converters.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Converters
MSEssentials.UI.WinUI.Converters
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.converters/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Converters?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Converters.svg?style=flat-square"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Controls
MSEssentials.UI.WinUI.Controls
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.controls/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Controls?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
</td>
</tr>
<tr>
<td>
SimpleToolkit.UI.WinUI.Helpers
</td>
<td>
<a href="https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.helpers/"><img src="https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Helpers?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget"></a>
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Controls.svg?style=flat-square"></a>
</td>
</tr>
</table>
@@ -107,24 +99,25 @@ Dependencies should be installed automatically with this package
- Microsoft.Xaml.Behaviors.WinUI.Managed 2.0.9
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.
## Installation and usage
You can download package from official NuGet registry or .nupkg file itself from Releases tab.
**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
dotnet add package MSEssentials.UI.WinUI.Behaviors
```
**Package reference in .csproj file:**
```
<PackageReference Include="SimpleToolkit.UI.WinUI.Behaviors" Version="<version>" />
<PackageReference Include="MSEssentials.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 <a href="https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors/src/branch/main/LICENSE">here</a>.
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 <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Behaviors/src/branch/main/LICENSE">here</a>.
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.

View File

@@ -1,57 +0,0 @@
# 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** | [![NuGet version (SimpleToolkit.UI.WinUI.Behaviors)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Behaviors?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.behaviors/) |
| SimpleToolkit.Extensions | [![NuGet version (SimpleToolkit.Extensions)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.Extensions?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.extensions/) |
| SimpleToolkit.Attributes | [![NuGet version (SimpleToolkit.Attributes)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.Attributes?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.attributes/) |
| SimpleToolkit.MVVM | [![NuGet version (SimpleToolkit.MVVM)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.MVVM?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.mvvm/) |
| SimpleToolkit.UI.Models | [![NuGet version (SimpleToolkit.UI.Models)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.Models?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.models/) |
| SimpleToolkit.UI.WinUI.Converters | [![NuGet version (SimpleToolkit.UI.WinUI.Converters)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Converters?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.converters/) |
| SimpleToolkit.UI.WinUI.Controls | [![NuGet version (SimpleToolkit.UI.WinUI.Controls)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Controls?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](https://repos.mateuszskoczek.com/SimpleToolkit/-/packages/nuget/simpletoolkit.ui.winui.controls/) |
| SimpleToolkit.UI.WinUI.Helpers | [![NuGet version (SimpleToolkit.UI.WinUI.Helpers)](https://img.shields.io/gitea/v/release/SimpleToolkit/SimpleToolkit.UI.WinUI.Helpers?gitea_url=https%3A%2F%2Frepos.mateuszskoczek.com%2F&display_name=release&label=nuget)](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)