SimpleToolkit.UI.Models 1.7.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleToolkit.UI.Models --version 1.7.6                
NuGet\Install-Package SimpleToolkit.UI.Models -Version 1.7.6                
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.Models" Version="1.7.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleToolkit.UI.Models --version 1.7.6                
#r "nuget: SimpleToolkit.UI.Models, 1.7.6"                
#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.Models as a Cake Addin
#addin nuget:?package=SimpleToolkit.UI.Models&version=1.7.6

// Install SimpleToolkit.UI.Models as a Cake Tool
#tool nuget:?package=SimpleToolkit.UI.Models&version=1.7.6                

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 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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 71 5/3/2024
1.7.5 140 3/14/2024
1.7.4 183 3/3/2024
1.7.3 121 3/3/2024
1.7.2 132 3/2/2024
1.7.1 116 3/2/2024
1.7.0 127 3/2/2024
1.6.1 122 3/1/2024
1.6.0 124 3/1/2024
1.5.0 109 2/28/2024
1.4.0 122 2/28/2024
1.3.0 120 2/27/2024
1.2.0 113 2/27/2024
1.1.0 115 2/27/2024
1.0.0 116 2/27/2024
1.0.0-ci.25 57 2/27/2024
0.1.0 118 2/26/2024
0.1.0-ci.24 50 2/27/2024
0.1.0-ci.23 53 2/27/2024
0.1.0-ci.22 52 2/27/2024
0.1.0-ci.21 51 2/27/2024