Cogs.Wpf 1.24.0

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

// Install Cogs.Wpf as a Cake Tool
#tool nuget:?package=Cogs.Wpf&version=1.24.0                

This library includes utilities for Windows Presentation Foundation, including:

  • ActionCommand - a command that can be manipulated by its caller
  • ControlAssist - provides attached dependency properties to enhance the functionality of controls (e.g. AdditionalInputBindings)
  • Screen - represents a display device or multiple display devices on a single system
  • WindowAssist - provides attached dependency properties to enhance the functionality of windows (e.g. AutoActivation, BlurBehind, IsBlurredBehind, IsCaption, SendSystemCommand, SetDefaultWindowStyleOnSystemCommands, ShowSystemMenu)

Also includes extension methods for visuals:

  • GetVisualAncestor - gets the first ancestor of a reference in the Visual Tree, or <c>null</c> if none could be found
  • GetVisualDescendent - gets the first member of a Visual Tree descending from a reference, or <c>null</c> if none could be found

Also includes extension methods for windows:

  • IsInSafePosition - gets whether the specified window is completely contained within the closest working area
  • SafeguardPosition - moves the specified window the minimum amount to be completely contained within the closest working area

Also includes behaviors:

  • ComboBoxDataVirtualization & ListBoxDataVirtualization - sets the items source of a combo box or list box (including list views), respectively, to a collection that loads elements as they are needed for display and keeps selected elements loaded (requires .NET Core 3.1 or later)
  • DelayedFocus - focuses an element after a specified delay
  • DeselectAllOnEmptySpaceClicked - feselects all items when empty space in a list view is clicked
  • OpenNavigateUri - opens the Hyperlink's NavigateUri when it is clicked
  • PasswordBindingTarget - allows binding to PasswordBox.Password

Also includes controls:

  • UrlAwareTextBlock - provides a lightweight control for displaying small amounts of flow content which finds URLs and makes them clickable hyperlinks

Also includes input gestures:

  • MouseWheelDownGesture - defines a mouse wheel down gesture that can be used to invoke a command
  • MouseWheelUpGesture - defines a mouse wheel up gesture that can be used to invoke a command

Also includes validation rules:

  • InvalidCharactersValidationRule - provides a way to create a rule in order to check that user input does not contain any invalid characters
  • StringNotEmptyValidationRule - provides a way to create a rule in order to check that user input is not an empty string
  • ValidFileNameValidationRule - provides a way to create a rule in order to check that user input does not contain any invalid file name characters
  • ValidPathValidationRule - provides a way to create a rule in order to check that user input does not contain any invalid file system path characters

Also includes a wide array of value converters. Please see a package explorer for details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net48 is compatible.  net481 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
1.26.0 310 1/26/2023
1.25.2 279 1/21/2023
1.25.1 307 11/23/2022
1.25.0 423 5/16/2022
1.24.2 418 4/4/2022
1.24.1 412 3/23/2022
1.24.0 409 3/19/2022
1.23.2 319 12/16/2021
1.23.1 290 12/16/2021
1.23.0 311 11/19/2021
1.22.1 293 11/3/2021
1.22.0 330 10/31/2021
1.21.0 303 10/13/2021
1.20.1 310 10/1/2021
1.20.0 304 10/1/2021
1.19.0 374 4/9/2021
1.18.0 332 4/5/2021
1.17.0 361 3/24/2021
1.16.0 365 3/11/2021
1.15.0 323 3/10/2021
1.14.0 363 3/10/2021
1.13.0 346 3/10/2021
1.12.0 390 3/5/2021
1.11.0 308 3/5/2021
1.10.0 326 3/5/2021
1.9.0 302 3/4/2021
1.8.0 382 2/28/2021
1.7.1 362 2/24/2021
1.7.0 314 2/21/2021
1.6.1 321 2/16/2021
1.6.0 337 2/16/2021
1.5.1 308 2/16/2021
1.5.0 324 2/16/2021
1.4.0 320 2/15/2021
1.3.0 302 2/15/2021
1.2.0 314 2/12/2021
1.1.0 334 2/12/2021
1.0.2 341 2/9/2021
1.0.1 317 2/8/2021
1.0.0 350 2/8/2021

We added the ComboBoxDataVirtualization and ListBoxDataVirtualization behaviors, which permit automatically managed data virtualization for combo boxes and list boxes (including list views), respectively. These behaviors are not available for WPF projects using .NET Framework.