WPF.JoshSmith.Controls.DragCanvas 2.0.3

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

// Install WPF.JoshSmith.Controls.DragCanvas as a Cake Tool
#tool nuget:?package=WPF.JoshSmith.Controls.DragCanvas&version=2.0.3                


Build status NuGet License

What does it do?

A Canvas which manages dragging of the UIElements it contains. This Canvas is made by Josh Smith.

This package is based on the following articles:


  <TextBlock Canvas.Left="20" Canvas.Bottom="50" Text="example"/>
  <Ellipse Canvas.Left="100" Canvas.Bottom="30" Width="65" Height="70" Fill="Blue" />

DragCanvas sample gif

Tools and Products Used

Versions & Release Notes

version 2.0.3:

  • Fix missing readme in nuget package

version 2.0.2:

  • Add 'net8.0'

version 2.0.1:

  • Add 'net5.0'

version 2.0:

  • Replace 'preview mouse down' event by a normal one, so that buttons/comboboxes/scrollbars work when put on draggable controls. Downside, these controls can no longer be dragged on themselves.
  • Replace target net462 and net48 by net472

version 1.1:

  • Expose IsDragInProgress

version 1.0:

  • First version
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.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WPF.JoshSmith.Controls.DragCanvas:

Package Downloads

A WPF Canvas which allows easy connecting elements. Each element on the canvas can have zero or multiple in and outputs. These inputs and outputs will snap together.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3 113 4/18/2024
2.0.2 113 4/18/2024
2.0.1 6,626 2/7/2021
2.0.0 2,121 3/19/2020
1.1.0 618 2/2/2020
1.0.0 489 2/1/2020