I'm wondering if people can suggest the best tutorial that will walk me through the best way to do Drag and Drop with control collision detection etc, using MS Silverlight V2.
I've done the Jesse Liberty tutorials at Silverlight.net, and they were a good introduction, but I'm looking for something a bit deeper.
Suggestions?
UPDATE: Here is the summary of the list of answers for convenience:
http://www.adefwebserver.com/DotNetNukeHELP/Misc/Silverlight/DragAndDropTest/
Lee’s corner
Corey Schuman
MARTIN GRAYSON: ADVENTURES OF A 'DEVIGNER'
http://www.codeplex.com/silverlightdragdrop
Nick Polyak’s Software Blog
Here is a page that explained the solution for my use.
Silverlight 2 Drag, Drop, and Import Content Example
Here are three more pages that have examples and code:
http://leeontech.wordpress.com/2008/04/11/drag-and-drop-in-silverlight/
http://simplesilverlight.wordpress.com/2008/08/13/drag-and-drop-silverlight-example/
http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx
A codeplex project for drag and drop http://www.codeplex.com/silverlightdragdrop
The following tutorial is helpful, and the author has posted code, including a drag and drop control you can download:
http://nickssoftwareblog.com/2008/10/07/silverlight-20-in-examples-part-drag-and-drop-inside-out/
I am currently using this control in a new Silverlight application.
Related
I have seen Cover Flow effect using WPF, and I'm looking for a tutorial. Where I can find the tutorial?
WPF Cover Flow Tutorial
Telerik has a ready to use coverflow control, which works fine is you're willing to pay for it.
As per this question:
ElementFlow control is inside the codeplex project called FluidKit should work for you.
It pretty much requires no tutorial to get going.
My company is going to development drag and drop feature in Silverlight. We are very new to Silverlight and just learnt SL for a week ago. But I believe the feature that my company wants can be done in Silverlight. The control about is about the time table in which the resource will be shifted around.
Here is the feature detail. We have one list box on left (resource list) and one table on the right. What we want to do is drag an item from the list onto the table then may have some data manipulation on table. I think it’s simple and but for me I don’t know how to create the table which is I think there is no built in control like this. Please take a look my screenshot below.
http://i.stack.imgur.com/QCaVX.jpg
My questions are:
How can we approach to achieve this
feature?
What is the best way to implement
this control?
How we can handle the event such as
drop, reload, bind and so on?
How can we select and drag cell on
table?
Yes, Silverlight can do that. It has drag-drop and rich support for creating custom user controls.
The Telerik RadControls for Silverlight have a control that does some of what you need. They also make source available.
You might want to research all the available third party controls first to save development cost.
There are too many questions in your question to answer. Best do your research and then ask specific questions.
The Telerik control is called RadScheduleView and can be seen here: http://demos.telerik.com/silverlight/#ScheduleView/FirstLook. It has nice performance and a lot of features.
We are also using Telerik RadScheduleView .It is simple and lot of demos for you to start.
We are looking for a Diagram Control/Component in Silverlight which enables us to create and deploy Network Diagrams. Also with which we should be able to traverse the diagram created, save it as a file (e.g. XML), load it, create custom nodes/controls with simple animation controls etc.
Can anyone let me know of any such component/tools in Silverlight that cater to our specified requirements?
Try Syncfusion Diagram for Silverlight. Check out their demos here
Syncfusion have Diagram Component for Silverlight platform. This control is a common control for Drawing and Creating Diagram with lot of features and it will support Save and Load in many types.
Saving and loading as Xaml file.
Printing also possible.
Please visit the following link for more information.
Link: http://silverlight.syncfusion.com/samples/Silverlight/#/User%20Interface%20Edition/Diagram
Please let me know if you have any further clarifications.
Regards,
Sundar M
If the question is still actual you can try SharpShooter Diagrams of PerpetuumSoft. It supports all the features you've mentioned and more.
You can try NOV Diagram. Check the Silverlight demo here
Full disclosure: I work at Nevron
I'm looking for a WPF prism with ribbon application samples and tutorials. I have found many that cover prism or ribbon but only a few sources provide any information about implementating those two together in one application. No course code usually in available tough. An example with a few simple modules and a classical ribbon tab control would be perfect for me to start.
Thanks for any help.
Regards,
Enzo.
Edit:
I should add that by combining the two I want to be able to load different modules depending on the ribbon tab selected by user.
You can find some info on a customized region adapter for the WPF Ribbon Preview here.
Regarding the loading of modules on demand in Prism, here is another link to MSDN, covering the topic.
David Veeneman wrote a nice article about Ribbon & Prism on CodeProject
http://www.codeproject.com/KB/WPF/ViewSwitchingAppsPrism4.aspx
It includes RegionAdapter for Ribbon .
There is "Southridge Hands-On Labs" on Codeplex (download on WPF futures page). It is quite extensive, but documentation and source code are not in sync (it looks they updated labs source, but not accompanying documentation), so it can be a pain sometimes to get what is going on.
It is based on Microsoft's WPF Ribbon Preview library.
Edit:
I am not aware about any tutorial that covers both. You can check series of videos on Prism and Silverlight by Mike Taulty. There is also source code for application made in last video.
Then you can combine knowledge from Southridge labs and this Prism tutorial.
I ran into a similar problem this weekend and after much reading and searching came up with this code that I posted for review
https://codereview.stackexchange.com/questions/429/mvvm-wpf-ribbon-v4-with-prism
I am searching for good samples for WPF that gives rich look and feel in WPF. Like for example a fancy TreeView Control with icons ..or Outllok like layout...
Samples that shows the real power of WPF in terms of rich look and feel..
Check out official wpf site http://windowsclient.net/wpf/default.aspx
There are lots of samples and videos
http://windowsclient.net/downloads/folders/wpfsamples/default.aspx
http://windowsclient.net/learn/videos_wpf.aspx
I'd look up microsoft.com/expression , there are usually some good materials there regarding WPF/ Blend etc.
If you have access to the Expression Blend product, there are several sample apps bundled in that may give you the inspiration you seek.
Check out the demo on Xceed's website for some great examples of WPF Controls (including Grids and TreeViews). They also have a 45 day free-trial if you'd like to play with the controls on your own machine.