Cogs.Wpf
1.24.0
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
<PackageReference Include="Cogs.Wpf" Version="1.24.0" />
paket add Cogs.Wpf --version 1.24.0
#r "nuget: Cogs.Wpf, 1.24.0"
// 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 callerControlAssist
- 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 systemWindowAssist
- 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 foundGetVisualDescendent
- 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 areaSafeguardPosition
- 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 delayDeselectAllOnEmptySpaceClicked
- feselects all items when empty space in a list view is clickedOpenNavigateUri
- opens theHyperlink
'sNavigateUri
when it is clickedPasswordBindingTarget
- allows binding toPasswordBox.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 commandMouseWheelUpGesture
- 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 charactersStringNotEmptyValidationRule
- provides a way to create a rule in order to check that user input is not an empty stringValidFileNameValidationRule
- provides a way to create a rule in order to check that user input does not contain any invalid file name charactersValidPathValidationRule
- 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 | Versions 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. |
-
.NETCoreApp 3.1
- Cogs.Collections (>= 1.10.1)
- Cogs.Disposal (>= 1.3.2)
- Cogs.Reflection (>= 1.4.4)
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
- System.Collections.Immutable (>= 6.0.0)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.8
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
- System.Collections.Immutable (>= 6.0.0)
- System.ValueTuple (>= 4.5.0)
-
net5.0-windows7.0
- Cogs.Collections (>= 1.10.1)
- Cogs.Disposal (>= 1.3.2)
- Cogs.Reflection (>= 1.4.4)
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
- System.Collections.Immutable (>= 6.0.0)
- System.ValueTuple (>= 4.5.0)
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 | 311 | 1/26/2023 |
1.25.2 | 280 | 1/21/2023 |
1.25.1 | 308 | 11/23/2022 |
1.25.0 | 424 | 5/16/2022 |
1.24.2 | 419 | 4/4/2022 |
1.24.1 | 413 | 3/23/2022 |
1.24.0 | 410 | 3/19/2022 |
1.23.2 | 320 | 12/16/2021 |
1.23.1 | 291 | 12/16/2021 |
1.23.0 | 312 | 11/19/2021 |
1.22.1 | 294 | 11/3/2021 |
1.22.0 | 331 | 10/31/2021 |
1.21.0 | 304 | 10/13/2021 |
1.20.1 | 311 | 10/1/2021 |
1.20.0 | 305 | 10/1/2021 |
1.19.0 | 375 | 4/9/2021 |
1.18.0 | 333 | 4/5/2021 |
1.17.0 | 362 | 3/24/2021 |
1.16.0 | 366 | 3/11/2021 |
1.15.0 | 324 | 3/10/2021 |
1.14.0 | 364 | 3/10/2021 |
1.13.0 | 347 | 3/10/2021 |
1.12.0 | 391 | 3/5/2021 |
1.11.0 | 309 | 3/5/2021 |
1.10.0 | 327 | 3/5/2021 |
1.9.0 | 303 | 3/4/2021 |
1.8.0 | 383 | 2/28/2021 |
1.7.1 | 363 | 2/24/2021 |
1.7.0 | 315 | 2/21/2021 |
1.6.1 | 322 | 2/16/2021 |
1.6.0 | 338 | 2/16/2021 |
1.5.1 | 309 | 2/16/2021 |
1.5.0 | 325 | 2/16/2021 |
1.4.0 | 321 | 2/15/2021 |
1.3.0 | 303 | 2/15/2021 |
1.2.0 | 315 | 2/12/2021 |
1.1.0 | 335 | 2/12/2021 |
1.0.2 | 342 | 2/9/2021 |
1.0.1 | 318 | 2/8/2021 |
1.0.0 | 351 | 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.