How to implement drag and drop in MahApps Metro Layout - mahapps.metro

Can anyone please suggest me on how to implement drag and drop of tiles in MahApps Metro layout. Thanks..

We have had success using another of punker76's libraries.
Its lightweight and easy to implement!
GitHub
https://github.com/punker76/gong-wpf-dragdrop
NuGet
https://www.nuget.org/packages/gong-wpf-dragdrop/

Related

PRISM 5 + MahApps.Metro

Does anyone tried hooking up PRISM 5 and Mahapps.Metro? Is Mahapps compitable with PRISM? I see its MetroWindow is inheriting from Window though.
Kindly guide me what could be the issue I may encounter going forward.
I have just made a quick sample in order to verify they would be compatible. You may find the HelloWorld QuickStart with the MahApps.Metro package configured:
HelloWorldWithMahApps
In order to configure the Shell View, the configuration would be straightforward on the xaml page and its Code Behind, where you would make it inherit from MetroWindow with no major problems.
You may find helpful the following MahApps Tutorial Quickstart Guide:
MahApps.Metro Quick Start
Regards.
Here you can find a working example on how you can use MahApps with Prism.
It shows you how to use
Tiles
Flyouts
Popups
I18n
Themes
Right|LeftWindowCommands

Silverlight 5 - designing an editor (drag and drop)?

I am currently looking to build a workflow editor in Silverlight that will allow user to drag and drop couple of objects from toolbox and draw them on canvas, connect it with connectors - pretty much like a flow chart designer.
I have gone through Silverlight Toolkit and some other links on the web, but not really sure how would I accomplish this.
Is there any built-in functionality in Silverlight, or do I need to use any external libraries for proper drag and drop?
How good is Silverlight in drawing custom shapes?
For reference, check "SilverDiagram": http://www.silverdiagram.net/Projects/SilverDiagram.aspx
Appreciate some quick & real help in this regard.
Thanks!
1.Is there any built-in functionality in Silverlight, or do I need to use any external libraries for proper drag and drop?
There is no built in functionality to develop drag and drop in Silverlight. It is always better to develop your own. It is not that difficult.
2.How good is Silverlight in drawing custom shapes?
Silverlight is your excellent friend in drawing custom shapes. But you need to adapt your thinking you are coming from conventional way of GUI programming like WinForms.

Any tutorials, code help to implement Drag and drop functionality in WPF using MVVM

I am using System.Windows.Interactivity to map mouse events in ViewModels.
Any tutorials, code help to implement Drag and drop functionality in WPF using MVVM.
wpftutorial.net has a drag&drop tutorial.
You can also find a two-part tutorial on codeplex. (Part 1, Part 2)
here are good tutorials :
Tutorial1
Tutorial2
Tutorial3
Tutorial4
http://sharpfellows.com/post/WPF-Drag-and-Drop-e28093-doing-it-the-MVVM-way.aspx

Custom button in WPF window Titlebar

I like to add a custom button in WPF Native Window title bar without editing the style of the Window.
Is it possible? If yes, please share some ideas.
Regards,
Jawahar
Mahapps is a UI toolkit for WPF and they make this super easy:
mahapps.com
Easy install using NuGet GUI or the Packet Manager console:
PM> Install-Package MahApps.Metro
I was able to do the install and customization in less than half hour with Mahapp.

Silverlight Toolkit TreeView Drag and Drop

Does any know how to implement drag and drop in the silverlight toolkit's treeview?
I saw the drag and drop manager for silverlight but supposedly you can put containers around the items you want to drag and drop but I wonder how I would do this on another treeviewitem exactly?
Maybe there is a better way or custom way? Thanks!
The Silverlight Toolkit October (09) release (http://silverlight.codeplex.com/) has added support for drag and drop.
There is a great walk though of the new feature here: http://themechanicalbride.blogspot.com/2009/08/new-with-silverlight-toolkit-drag-and.html
One method that should work is using Telerik controls.
First download the telerik controls then add a reference to Telerik.Windows.Controls; that will allow you to use the IsDragnDropEnable property for the source treeview and the .AllowDrop for the Targeted TreeView

Resources