<?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"
	>
<channel>
	<title>Comments for Lee's Corner</title>
	<atom:link href="http://leeontech.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://leeontech.wordpress.com</link>
	<description></description>
	<pubDate>Thu, 24 Jul 2008 12:19:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>Comment on DragDrop part2 by lee</title>
		<link>http://leeontech.wordpress.com/2008/04/23/dragdrop-part2/#comment-242</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Thu, 24 Jul 2008 02:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=61#comment-242</guid>
		<description>Jamie,
you should be able to do HitTest and do the sorting. I would try to avoid adding handlers to each item</description>
		<content:encoded><![CDATA[<p>Jamie,<br />
you should be able to do HitTest and do the sorting. I would try to avoid adding handlers to each item</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DragDrop part2 by Jamie</title>
		<link>http://leeontech.wordpress.com/2008/04/23/dragdrop-part2/#comment-241</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 24 Jul 2008 01:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=61#comment-241</guid>
		<description>David, a quick question--how are you getting the list of elements in the visual tree for every row in the DataGrid., so that you can hook LeftMouseButtonDown?  I'm in the same situation--I want events to get through to the DataGrid so that the user can perform sorts and the like (I don't need editing), so I don't want to just plaster a Canvas over the top of the grid.

Also, has anyone played with the new agDataGrid to see if it deals with Drag and Drop any easier?</description>
		<content:encoded><![CDATA[<p>David, a quick question&#8211;how are you getting the list of elements in the visual tree for every row in the DataGrid., so that you can hook LeftMouseButtonDown?  I&#8217;m in the same situation&#8211;I want events to get through to the DataGrid so that the user can perform sorts and the like (I don&#8217;t need editing), so I don&#8217;t want to just plaster a Canvas over the top of the grid.</p>
<p>Also, has anyone played with the new agDataGrid to see if it deals with Drag and Drop any easier?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by lee</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-239</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Thu, 17 Jul 2008 17:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-239</guid>
		<description>Open the system.windows.controls.data.dll in reflector. Expand Resources node. You will find system.windows.controls.data.g.resources in the Disassembler you will see Generic.xaml. that is how I got it</description>
		<content:encoded><![CDATA[<p>Open the system.windows.controls.data.dll in reflector. Expand Resources node. You will find system.windows.controls.data.g.resources in the Disassembler you will see Generic.xaml. that is how I got it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by skc</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-238</link>
		<dc:creator>skc</dc:creator>
		<pubDate>Thu, 17 Jul 2008 17:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-238</guid>
		<description>Nice. But how did you extract the control template for the datagrid?</description>
		<content:encoded><![CDATA[<p>Nice. But how did you extract the control template for the datagrid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by John "Z-Bo" Zabroski</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-237</link>
		<dc:creator>John "Z-Bo" Zabroski</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-237</guid>
		<description>You're right, sorry!  The XAML Parser in the IDE I was using was hiccuping on a stray angled double quote, not "(Color)".</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, sorry!  The XAML Parser in the IDE I was using was hiccuping on a stray angled double quote, not &#8220;(Color)&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by lee</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-236</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-236</guid>
		<description>I am not sure on the workaround for the "feature"
(Color) is actually what is in generic.xaml. I picked that up from Reflector. I did not even notice that as the style is working</description>
		<content:encoded><![CDATA[<p>I am not sure on the workaround for the &#8220;feature&#8221;<br />
(Color) is actually what is in generic.xaml. I picked that up from Reflector. I did not even notice that as the style is working</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by John "Z-Bo" Zabroski</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-235</link>
		<dc:creator>John "Z-Bo" Zabroski</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-235</guid>
		<description>I don't think I will ever like changing styles just to alter layout.  Editing ControlTemplates to do deep structural changes to the layout properties of Silverlight/WPF's box model architecture is a significant wart on the overall design of Microsoft's GUI toolkit.  Layout has literally zero role in control behavior, and so it should be possible to do CSS-style deep, structural, tag pattern-matching changes to layout.

I commented to Ashish Shetty that this is probably what costs me the most amount of time and disrupts my workflow more than anything else.  It is a blatant violation of the Open-Closed Principle in Object-Oriented Analysis.  See my comments that I made today here: http://nerddawg.blogspot.com/2008/06/beta-2-of-silverlight-2-has-just.html</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think I will ever like changing styles just to alter layout.  Editing ControlTemplates to do deep structural changes to the layout properties of Silverlight/WPF&#8217;s box model architecture is a significant wart on the overall design of Microsoft&#8217;s GUI toolkit.  Layout has literally zero role in control behavior, and so it should be possible to do CSS-style deep, structural, tag pattern-matching changes to layout.</p>
<p>I commented to Ashish Shetty that this is probably what costs me the most amount of time and disrupts my workflow more than anything else.  It is a blatant violation of the Open-Closed Principle in Object-Oriented Analysis.  See my comments that I made today here: <a href="http://nerddawg.blogspot.com/2008/06/beta-2-of-silverlight-2-has-just.html" rel="nofollow">http://nerddawg.blogspot.com/2008/06/beta-2-of-silverlight-2-has-just.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by John "Z-Bo" Zabroski</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-234</link>
		<dc:creator>John "Z-Bo" Zabroski</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-234</guid>
		<description>By the way, there are actually some problems with your code.  For one, your blog software has this "feature" where it converts vertical double quotes into angled double quotes.  This feature makes it impossible to directly copy and paste code into Visual Studio C# or XAML files.  And Storyboard.TargetProperty=”(Color)” should just say Storyboard.TargetProperty="Color".</description>
		<content:encoded><![CDATA[<p>By the way, there are actually some problems with your code.  For one, your blog software has this &#8220;feature&#8221; where it converts vertical double quotes into angled double quotes.  This feature makes it impossible to directly copy and paste code into Visual Studio C# or XAML files.  And Storyboard.TargetProperty=”(Color)” should just say Storyboard.TargetProperty=&#8221;Color&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by lee</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-233</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-233</guid>
		<description>you are welcome, 
once you get a hang of changing styles, you will like it</description>
		<content:encoded><![CDATA[<p>you are welcome,<br />
once you get a hang of changing styles, you will like it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlignment of header in DataGrid by John "Z-Bo" Zabroski</title>
		<link>http://leeontech.wordpress.com/2008/07/17/verticalalignment-of-header-in-datagrid/#comment-232</link>
		<dc:creator>John "Z-Bo" Zabroski</dc:creator>
		<pubDate>Thu, 17 Jul 2008 14:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://leeontech.wordpress.com/?p=108#comment-232</guid>
		<description>Nice.  Thanks for your help, Lee!

I don't quite understand why it is so difficult to style elements compared with JavaScript UI frameworks that wrap HTML/CSS.  For me, this seems like my biggest pain point with Silverlight and WPF.  Simple styling that would take me seconds or minutes in HTML/CSS takes me hours to do in Silverlight and WPF, because I have to figure out where the Content I want to Style actually is within the ControlTemplate.  Not only that, but in order to diddle just one field in one element, I need to replace the whole visual tree.

I read WPF Architect Adam Nathan's opinion on how WPF Styles are better than Cascading Style Sheets, and I personally feel it is Not Invented Here Syndrome more than anything else.</description>
		<content:encoded><![CDATA[<p>Nice.  Thanks for your help, Lee!</p>
<p>I don&#8217;t quite understand why it is so difficult to style elements compared with JavaScript UI frameworks that wrap HTML/CSS.  For me, this seems like my biggest pain point with Silverlight and WPF.  Simple styling that would take me seconds or minutes in HTML/CSS takes me hours to do in Silverlight and WPF, because I have to figure out where the Content I want to Style actually is within the ControlTemplate.  Not only that, but in order to diddle just one field in one element, I need to replace the whole visual tree.</p>
<p>I read WPF Architect Adam Nathan&#8217;s opinion on how WPF Styles are better than Cascading Style Sheets, and I personally feel it is Not Invented Here Syndrome more than anything else.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
