<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Silverlight Drag and Drop API</title>
	<atom:link href="http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/</link>
	<description>About Silverlight, Microsoft technologies, and software development in general.</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:50:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Peter</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-124509</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 14 Dec 2011 16:53:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-124509</guid>
		<description>I am trying to find a solution to drag and drop from Outlook to Silverlight App.
Can your plug-in do this? I tried running your source but it does not seem to handle this right now.

Any suggestions?
Thanks</description>
		<content:encoded><![CDATA[<p>I am trying to find a solution to drag and drop from Outlook to Silverlight App.<br />
Can your plug-in do this? I tried running your source but it does not seem to handle this right now.</p>
<p>Any suggestions?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujit</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-89691</link>
		<dc:creator>Sujit</dc:creator>
		<pubDate>Thu, 06 Jan 2011 06:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-89691</guid>
		<description>How do i get the DragDropTarget to work only one way ?

I do not want the items to be dragged and dropped back to where they originated</description>
		<content:encoded><![CDATA[<p>How do i get the DragDropTarget to work only one way ?</p>
<p>I do not want the items to be dragged and dropped back to where they originated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ning Zhang</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-66020</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Tue, 20 Jul 2010 04:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-66020</guid>
		<description>&lt;a href=&quot;#comment-63083&quot; rel=&quot;nofollow&quot;&gt;@David Leisner &lt;/a&gt; 
Hi David, 

Yes, the behavior is pretty much the same in SL4 RTM: user will see the standard cursor change at plugin level, ie, if there is one control with AllDrop set to true, the whole plugin will display the allow drop cursor; but it is not control specific, and it is not customizable, ie, cursor won&#039;t change for controls with AllDrop set to false, and there is no DragDropEffects to set in DragEventArgs. We may implement more DnD functionalities in future releases. 

Thanks, 

-Ning</description>
		<content:encoded><![CDATA[<p><a href="#comment-63083" rel="nofollow">@David Leisner </a><br />
Hi David, </p>
<p>Yes, the behavior is pretty much the same in SL4 RTM: user will see the standard cursor change at plugin level, ie, if there is one control with AllDrop set to true, the whole plugin will display the allow drop cursor; but it is not control specific, and it is not customizable, ie, cursor won&#8217;t change for controls with AllDrop set to false, and there is no DragDropEffects to set in DragEventArgs. We may implement more DnD functionalities in future releases. </p>
<p>Thanks, </p>
<p>-Ning</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Leisner</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-63083</link>
		<dc:creator>David Leisner</dc:creator>
		<pubDate>Tue, 22 Jun 2010 19:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-63083</guid>
		<description>Thank you for this extremely useful and easy-to-implement feature!

Question: in your original article you said that in the Silverlight 4 Beta &quot;there is no visual for the dragged object or DragDropEffects.&quot;

Is this also the case in the final Silverlight 4 release?

When dragging an image from Windows Explorer to a Silverlight ListBox, it will be extremely useful to customize the cursor appearance, and also have a different style cursor depending upon whether the target element has AllowDrop enabled or not.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thank you for this extremely useful and easy-to-implement feature!</p>
<p>Question: in your original article you said that in the Silverlight 4 Beta &#8220;there is no visual for the dragged object or DragDropEffects.&#8221;</p>
<p>Is this also the case in the final Silverlight 4 release?</p>
<p>When dragging an image from Windows Explorer to a Silverlight ListBox, it will be extremely useful to customize the cursor appearance, and also have a different style cursor depending upon whether the target element has AllowDrop enabled or not.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spam-dev</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-62398</link>
		<dc:creator>spam-dev</dc:creator>
		<pubDate>Wed, 16 Jun 2010 06:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-62398</guid>
		<description>Hi, thank you for sample code.</description>
		<content:encoded><![CDATA[<p>Hi, thank you for sample code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Grigoleit</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-60904</link>
		<dc:creator>Steven Grigoleit</dc:creator>
		<pubDate>Thu, 03 Jun 2010 14:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-60904</guid>
		<description>Hi,

is it possible to prevent the DataGridDragDropTarget from starting a drag-action?

What I whant is to use one DataGrid only as DragSource and another one only as DropTarget. And the DropTarget-only-DataGrid should not show this &quot;StartDragShadow&quot; when pressing and moving the mouse over an item.

Thanks!
Steven</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>is it possible to prevent the DataGridDragDropTarget from starting a drag-action?</p>
<p>What I whant is to use one DataGrid only as DragSource and another one only as DropTarget. And the DropTarget-only-DataGrid should not show this &#8220;StartDragShadow&#8221; when pressing and moving the mouse over an item.</p>
<p>Thanks!<br />
Steven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silverlight</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-31134</link>
		<dc:creator>silverlight</dc:creator>
		<pubDate>Sat, 26 Dec 2009 05:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-31134</guid>
		<description>&lt;a href=&quot;#comment-27632&quot; rel=&quot;nofollow&quot;&gt;@Rudy  &lt;/a&gt; 
I also want to know.thank you!
regards
silverlight</description>
		<content:encoded><![CDATA[<p><a href="#comment-27632" rel="nofollow">@Rudy  </a><br />
I also want to know.thank you!<br />
regards<br />
silverlight</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ning Zhang</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-30477</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Sat, 19 Dec 2009 19:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-30477</guid>
		<description>&lt;a href=&quot;#comment-27632&quot; rel=&quot;nofollow&quot;&gt;@Rudy &lt;/a&gt; 
Please see my other replies. The Silverlight Toolkit already has &lt;a href=&quot;http://silverlight.codeplex.com/SourceControl/changeset/view/35261#779745&quot; rel=&quot;nofollow&quot;&gt;ListBoxDragDropTarget&lt;/a&gt;, so you can drag from ListBox. You do need to implement your own Canvas drag drop target container, for now.</description>
		<content:encoded><![CDATA[<p><a href="#comment-27632" rel="nofollow">@Rudy </a><br />
Please see my other replies. The Silverlight Toolkit already has <a href="http://silverlight.codeplex.com/SourceControl/changeset/view/35261#779745" rel="nofollow">ListBoxDragDropTarget</a>, so you can drag from ListBox. You do need to implement your own Canvas drag drop target container, for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ning Zhang</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-30474</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Sat, 19 Dec 2009 18:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-30474</guid>
		<description>&lt;a href=&quot;#comment-29579&quot; rel=&quot;nofollow&quot;&gt;@GB &lt;/a&gt; 
Right now SL4 runtime only supports SL plugin as a file drop target, and only exposes drop target properties (AllDrop) and events (DragEnter/Move/Leave, Drop), but not drag source events (GiveFeedback, QueryContinueDrag). It is not fully extensible via IDataObject either. If you can&#039;t wait, your best chance for now is to look at the toolkit implementation, which allows drag and drop to and from DataGrid within SL plugin. The code is in &lt;a href=&quot;http://silverlight.codeplex.com/SourceControl/changeset/view/35261#778770&quot; rel=&quot;nofollow&quot;&gt;DataGridDragDropTarget.cs&lt;/a&gt; under source\Controls.Data.Toolkit project. Thanks.</description>
		<content:encoded><![CDATA[<p><a href="#comment-29579" rel="nofollow">@GB </a><br />
Right now SL4 runtime only supports SL plugin as a file drop target, and only exposes drop target properties (AllDrop) and events (DragEnter/Move/Leave, Drop), but not drag source events (GiveFeedback, QueryContinueDrag). It is not fully extensible via IDataObject either. If you can&#8217;t wait, your best chance for now is to look at the toolkit implementation, which allows drag and drop to and from DataGrid within SL plugin. The code is in <a href="http://silverlight.codeplex.com/SourceControl/changeset/view/35261#778770" rel="nofollow">DataGridDragDropTarget.cs</a> under source\Controls.Data.Toolkit project. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GB</title>
		<link>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-29579</link>
		<dc:creator>GB</dc:creator>
		<pubDate>Mon, 14 Dec 2009 01:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/#comment-29579</guid>
		<description>hi, i want to know how to implement to drag&amp;drop on datagrid?</description>
		<content:encoded><![CDATA[<p>hi, i want to know how to implement to drag&amp;drop on datagrid?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

