<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.ningzhang.org/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Ning Zhang's Blog</title>
	
	<link>http://www.ningzhang.org</link>
	<description>About Silverlight, Microsoft technologies, and software development in general.</description>
	<lastBuildDate>Tue, 20 Jul 2010 04:58:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.ningzhang.org/CommentsForNingZhangsBlog" /><feedburner:info uri="commentsforningzhangsblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Register Silverlight Controls with Visual Studio and Blend by Ning Zhang</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/bMMbxlKuBrA/</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Tue, 20 Jul 2010 04:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/?p=343#comment-66023</guid>
		<description>&lt;a href="#comment-49608" rel="nofollow"&gt;@Doych &lt;/a&gt; 
Hi Doych, 

Besides HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\RedControl\Toolbox, you will also need to set HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\RedControl's default value to its install folder. As to internal classes on toolbox, it was a bug with TCI (many of the internal controls are from non TK assemblies), and should be mostly worked around in latest TK release. 

Thanks, 

-Ning</description>
		<content:encoded><![CDATA[<p><a href="#comment-49608" rel="nofollow">@Doych </a><br />
Hi Doych, </p>
<p>Besides HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\RedControl\Toolbox, you will also need to set HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\RedControl&#8217;s default value to its install folder. As to internal classes on toolbox, it was a bug with TCI (many of the internal controls are from non TK assemblies), and should be mostly worked around in latest TK release. </p>
<p>Thanks, </p>
<p>-Ning</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=bMMbxlKuBrA:-jjbxEqPO3s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/bMMbxlKuBrA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/04/30/register-silverlight-controls-with-visual-studio-and-blend/comment-page-1/#comment-66023</feedburner:origLink></item>
	<item>
		<title>Comment on Register Silverlight Controls with Visual Studio and Blend by Ning Zhang</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/w0u8P3ZW3jA/</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Tue, 20 Jul 2010 04:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/?p=343#comment-66022</guid>
		<description>&lt;a href="#comment-61096" rel="nofollow"&gt;@Harsha &lt;/a&gt; 
Hi Harsha, 

Yes, this only works for VS2010. For VS2008, you have to use TCI, and it is not guaranteed to work. If you develop for Silverlight, your best option is to upgrade to VS2010. 

Thanks, 

-Ning</description>
		<content:encoded><![CDATA[<p><a href="#comment-61096" rel="nofollow">@Harsha </a><br />
Hi Harsha, </p>
<p>Yes, this only works for VS2010. For VS2008, you have to use TCI, and it is not guaranteed to work. If you develop for Silverlight, your best option is to upgrade to VS2010. </p>
<p>Thanks, </p>
<p>-Ning</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=w0u8P3ZW3jA:T2BAKvv7cUg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/w0u8P3ZW3jA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/04/30/register-silverlight-controls-with-visual-studio-and-blend/comment-page-1/#comment-66022</feedburner:origLink></item>
	<item>
		<title>Comment on Silverlight Drag and Drop API by Ning Zhang</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/eboLmKrwrw8/</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="#comment-63083" rel="nofollow"&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'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>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=eboLmKrwrw8:DdnfVHNrvXM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/eboLmKrwrw8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-66020</feedburner:origLink></item>
	<item>
		<title>Comment on DependencyProperty: Validation, Coercion &amp; Change Handling (Part II: Silverlight) by Ning Zhang</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/nNCskduZpOw/</link>
		<dc:creator>Ning Zhang</dc:creator>
		<pubDate>Tue, 20 Jul 2010 04:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://nztst.wordpress.com/2008/11/11/dependencyproperty-validation-coercion-change-handling-part-ii-silverlight/#comment-66017</guid>
		<description>&lt;a href="#comment-65945" rel="nofollow"&gt;@Ralf Dobslaw &lt;/a&gt; 
Hi Ralf, 

if you set the property to 11 via properties window and it is persisted to xaml, but Blend resets it to 0, then it  sounds like a Blend issue: after all, the properties windows and xaml view should be consistent.  

Thanks, 

-Ning</description>
		<content:encoded><![CDATA[<p><a href="#comment-65945" rel="nofollow">@Ralf Dobslaw </a><br />
Hi Ralf, </p>
<p>if you set the property to 11 via properties window and it is persisted to xaml, but Blend resets it to 0, then it  sounds like a Blend issue: after all, the properties windows and xaml view should be consistent.  </p>
<p>Thanks, </p>
<p>-Ning</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=nNCskduZpOw:fIIp8eBB3js:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/nNCskduZpOw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2008/11/11/dependencyproperty-validation-coercion-change-handling-part-ii-silverlight/comment-page-1/#comment-66017</feedburner:origLink></item>
	<item>
		<title>Comment on DependencyProperty: Validation, Coercion &amp; Change Handling (Part II: Silverlight) by Ralf Dobslaw</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/53D4x_mns2Q/</link>
		<dc:creator>Ralf Dobslaw</dc:creator>
		<pubDate>Mon, 19 Jul 2010 15:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://nztst.wordpress.com/2008/11/11/dependencyproperty-validation-coercion-change-handling-part-ii-silverlight/#comment-65945</guid>
		<description>Hi Ning,

I made a test with your control inside Blend 4. After I set the property inside property window to 11, it resets the value back to 0, but inside XAML there is still 11.

Is that a Blend 4 bug?

Thanks,
Ralf</description>
		<content:encoded><![CDATA[<p>Hi Ning,</p>
<p>I made a test with your control inside Blend 4. After I set the property inside property window to 11, it resets the value back to 0, but inside XAML there is still 11.</p>
<p>Is that a Blend 4 bug?</p>
<p>Thanks,<br />
Ralf</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=53D4x_mns2Q:_nbvwjZj59g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/53D4x_mns2Q" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2008/11/11/dependencyproperty-validation-coercion-change-handling-part-ii-silverlight/comment-page-1/#comment-65945</feedburner:origLink></item>
	<item>
		<title>Comment on Editing Model &amp; Default Initializer for Silverlight Controls by Borislav Ivanov</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/joZ8JhtMulU/</link>
		<dc:creator>Borislav Ivanov</dc:creator>
		<pubDate>Mon, 19 Jul 2010 15:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/2009/05/11/editing-model-default-initializer-for-silverlight-controls/#comment-65942</guid>
		<description>Are you aware of any way to provide feedback for the user for lengthy operations with DefaultInitializer (I mean something like showing a progress bar)?

The problem is that I can show progress bar in the beginning and hide it in the end of InitializeDefaults method, but this method consume only a little part of the time needed to generate the control.</description>
		<content:encoded><![CDATA[<p>Are you aware of any way to provide feedback for the user for lengthy operations with DefaultInitializer (I mean something like showing a progress bar)?</p>
<p>The problem is that I can show progress bar in the beginning and hide it in the end of InitializeDefaults method, but this method consume only a little part of the time needed to generate the control.</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=joZ8JhtMulU:efF68Q9Q8IE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/joZ8JhtMulU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/05/11/editing-model-default-initializer-for-silverlight-controls/comment-page-1/#comment-65942</feedburner:origLink></item>
	<item>
		<title>Comment on Silverlight Drag and Drop API by David Leisner</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/2PVChdWO1tk/</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 "there is no visual for the dragged object or DragDropEffects."

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>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=2PVChdWO1tk:gAHXzNuGOm4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/2PVChdWO1tk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-63083</feedburner:origLink></item>
	<item>
		<title>Comment on Silverlight Drag and Drop API by spam-dev</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/JfkgMHjI4ZU/</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>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=JfkgMHjI4ZU:znxz1F7kOJo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/JfkgMHjI4ZU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-62398</feedburner:origLink></item>
	<item>
		<title>Comment on Register Silverlight Controls with Visual Studio and Blend by Harsha</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/Bd7PbegjxSY/</link>
		<dc:creator>Harsha</dc:creator>
		<pubDate>Sun, 06 Jun 2010 14:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ningzhang.org/?p=343#comment-61096</guid>
		<description>Thanks a lot,
This is working for me with vs 2010. But the controls are not appearing in vs 2008. How to achieve this .. please help !!</description>
		<content:encoded><![CDATA[<p>Thanks a lot,<br />
This is working for me with vs 2010. But the controls are not appearing in vs 2008. How to achieve this .. please help !!</p>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=Bd7PbegjxSY:oZL_N_kbaCI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/Bd7PbegjxSY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/04/30/register-silverlight-controls-with-visual-studio-and-blend/comment-page-1/#comment-61096</feedburner:origLink></item>
	<item>
		<title>Comment on Silverlight Drag and Drop API by Steven Grigoleit</title>
		<link>http://feeds.ningzhang.org/~r/CommentsForNingZhangsBlog/~3/xVxOiZssLo4/</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 "StartDragShadow" 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>
<div class="feedflare">
<a href="http://feeds.ningzhang.org/~ff/CommentsForNingZhangsBlog?a=xVxOiZssLo4:ZReRGjZqyQs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CommentsForNingZhangsBlog?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CommentsForNingZhangsBlog/~4/xVxOiZssLo4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.ningzhang.org/2009/11/28/silverlight-drag-and-drop-api/comment-page-1/#comment-60904</feedburner:origLink></item>
</channel>
</rss>
