WPF.JoshSmith.Controls.DragCanvas 2.0.1

A Canvas which manages dragging of the UIElements it contains.

Install-Package WPF.JoshSmith.Controls.DragCanvas -Version 2.0.1
dotnet add package WPF.JoshSmith.Controls.DragCanvas --version 2.0.1
<PackageReference Include="WPF.JoshSmith.Controls.DragCanvas" Version="2.0.1" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WPF.JoshSmith.Controls.DragCanvas, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1

// Install WPF.JoshSmith.Controls.DragCanvas as a Cake Tool
#tool nuget:?package=WPF.JoshSmith.Controls.DragCanvas&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WPF.JoshSmith.Controls.DragCanvas

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:

Examples

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

DragCanvas sample gif

Tools and Products Used

Versions & Release Notes

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

WPF.JoshSmith.Controls.DragCanvas

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:

Examples

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

DragCanvas sample gif

Tools and Products Used

Versions & Release Notes

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

  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.7.2

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

    • No dependencies.

NuGet packages (1)

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

Package Downloads
Denxorz.InputOutputSnappingCanvas
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 History

Version Downloads Last updated
2.0.1 331 2/7/2021
2.0.0 1,321 3/19/2020
1.1.0 223 2/2/2020
1.0.0 202 2/1/2020