SimpleToolkit.UI.WinUI.Behaviors 1.7.7

dotnet add package SimpleToolkit.UI.WinUI.Behaviors --version 1.7.7                
NuGet\Install-Package SimpleToolkit.UI.WinUI.Behaviors -Version 1.7.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleToolkit.UI.WinUI.Behaviors" Version="1.7.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleToolkit.UI.WinUI.Behaviors --version 1.7.7                
#r "nuget: SimpleToolkit.UI.WinUI.Behaviors, 1.7.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleToolkit.UI.WinUI.Behaviors as a Cake Addin
#addin nuget:?package=SimpleToolkit.UI.WinUI.Behaviors&version=1.7.7

// Install SimpleToolkit.UI.WinUI.Behaviors as a Cake Tool
#tool nuget:?package=SimpleToolkit.UI.WinUI.Behaviors&version=1.7.7                

SimpleToolkit

SimpleToolkit is a set of helpers, models, controls, etc. used in my other C# projects.

Status

Project NuGet Gallery
Extensions NuGet version (SimpleToolkit.Extensions)
Attributes NuGet version (SimpleToolkit.Attributes)
MVVM NuGet version (SimpleToolkit.MVVM)
UI.Models NuGet version (SimpleToolkit.UI.Models)
UI.WinUI.Behaviors NuGet version (SimpleToolkit.UI.WinUI.Behaviors)
UI.WinUI.Converters NuGet version (SimpleToolkit.UI.WinUI.Converters)
UI.WinUI.Controls NuGet version (SimpleToolkit.UI.WinUI.Controls)
UI.WinUI.Helpers NuGet version (SimpleToolkit.UI.WinUI.Helpers)

Contents

Extensions

  • StringExtensions
    • (static) CreateRandom - returns random string
    • Shuffle - returns shuffled string
  • HttpClientExtensions
    • DownloadAsync - allows to track progress of downloading data
  • StreamExtensions
    • CopyToAsync - allows to track progress of copying data
  • IEnumerableExtensions
    • Random - returns random item from IEnumerable

Attributes

  • RequiresClaimAttribute - returns Forbidden result, when claim is not present

MVVM

  • ObservableKeyValuePair - Observable version of KeyValuePair
  • ObservableDictionary - Observable version of Dictionary

UI.Models

  • NavigationViewItem - model which can be used to implement NavigationViewService-less navigation in MVVM

UI.WinUI.Behaviors

  • EventToCommandBehavior - allows to bind parametrized command to any event

UI.WinUI.Converters

  • ObjectToIntConverter - converts any object to int (e.g. enums)
  • ObjectToStringConverter - converts any object to string

UI.WinUI.Controls

  • TimeSpanControl - allows to select TimeSpan

UI.WinUI.Helpers

  • WindowHelper
    • ShowWindow - Brings window to the front

alt text

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.7.7 90 5/3/2024
1.7.6 77 5/3/2024
1.7.5 132 3/14/2024
1.7.4 169 3/3/2024
1.7.3 108 3/3/2024
1.7.2 130 3/2/2024
1.7.1 111 3/2/2024
1.7.0 110 3/2/2024
1.6.1 108 3/1/2024
1.6.0 120 3/1/2024
1.5.0 111 2/28/2024
1.4.0 129 2/28/2024
1.3.0 102 2/27/2024
1.2.0 109 2/27/2024
1.1.0 120 2/27/2024
1.0.0 120 2/27/2024
1.0.0-ci.25 57 2/27/2024
0.1.0 120 2/26/2024
0.1.0-ci.24 52 2/27/2024
0.1.0-ci.23 55 2/27/2024