Woof.Windows.Controls 7.0.0

Prefix Reserved
dotnet add package Woof.Windows.Controls --version 7.0.0                
NuGet\Install-Package Woof.Windows.Controls -Version 7.0.0                
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="Woof.Windows.Controls" Version="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Woof.Windows.Controls --version 7.0.0                
#r "nuget: Woof.Windows.Controls, 7.0.0"                
#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 Woof.Windows.Controls as a Cake Addin
#addin nuget:?package=Woof.Windows.Controls&version=7.0.0

// Install Woof.Windows.Controls as a Cake Tool
#tool nuget:?package=Woof.Windows.Controls&version=7.0.0                

Woof.Windows.Controls

A part of the Woof Tookit by CodeDog.

Distributed under MIT License. (c)2022 by CodeDog, All rights reserved.


About

This package contains some tiny but useful WPF controls.

  • Checks: A kind of Menu having a label containing a list of selected options or a fallback text for nothing selected or available.
  • Spinner: A Windows 8 / 10 / 11 style loading animation with optional percentage label,
  • TextBoxEx: A TextBox extension diplaying a label placeholder when it's empty.

Usage

Checks

This controls uses Woof.Windows.MVM because it's designed for MVVM. The control's ItemsSource should be bound to an observable collection, the ObservableList<T> is preferred.

The only acceptable item type for that control is Woof.Windows.Mvvm.Check.

The item contains the Value property (typically - the item text) and the IsChecked property that is true when the item is checked.

When the user checks or unchecks an item in the control - the PropertyChanged event is triggered on the view model collection if it implements INotifyPropertyChanged interface.

Handle the event in order to apply changes to your view model depending on the items selection state.

Spinner

Place anywhere. If IsOn property is set, it will be displayed and spin.

When the Percent value is set to a positive value, the spinner will spin and display the value set. Set Percent to a negative value to hide the spinner.

TextBoxEx

Works as a regular checkbox. Set the Label property to show description inside the text box.

See the provided demo project and refer to built-in XML documentation for more details.


Disclaimer

Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.

PLEASE report all issues on GitHub!

Describe how to reproduce an issue. Also feel free to suggest new features or improvements.

Product Compatible and additional computed target framework versions.
.NET net7.0-windows7.0 is compatible.  net8.0-windows was computed. 
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
7.0.0 194 8/6/2023
6.2.0 474 2/20/2022
5.0.4 349 10/7/2021
5.0.2 359 10/5/2021
5.0.1 324 10/5/2021
5.0.0 329 10/5/2021
1.0.1 1,036 6/18/2018
1.0.0 875 6/16/2018

.NET7 target.