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
<PackageReference Include="Woof.Windows.Controls" Version="7.0.0" />
paket add Woof.Windows.Controls --version 7.0.0
#r "nuget: Woof.Windows.Controls, 7.0.0"
// 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-windows7.0 is compatible. net8.0-windows was computed. |
-
net7.0-windows7.0
- Woof.Windows.MVVM (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
.NET7 target.