<?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: Control Visibility with triggers</title>
	<atom:link href="http://joel.neubeck.net/2009/08/control-visibility-with-triggers/feed/" rel="self" type="application/rss+xml" />
	<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/</link>
	<description>Simplifing structure without changing results</description>
	<lastBuildDate>Fri, 05 Mar 2010 07:33:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Washington</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-821</link>
		<dc:creator>Michael Washington</dc:creator>
		<pubDate>Wed, 12 Aug 2009 13:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-821</guid>
		<description>This works for me. I have used the Visual States before, but at this point they are not easy to use. Using your code was easy to use, simply set the properties and the control works. For SketchFlow it is all about fast and easy so this works.</description>
		<content:encoded><![CDATA[<p>This works for me. I have used the Visual States before, but at this point they are not easy to use. Using your code was easy to use, simply set the properties and the control works. For SketchFlow it is all about fast and easy so this works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Eisenberg</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-819</link>
		<dc:creator>Rob Eisenberg</dc:creator>
		<pubDate>Tue, 11 Aug 2009 14:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-819</guid>
		<description>I think it&#039;s on Control in Silverlight; UIElement in WPF.  For prototyping, I wouldn&#039;t hesitate to use the approach you mention.  However, when you move to an actual implementation, its easy for this to get out of hand.  It&#039;s something to be continually evaluating because you can very easily find that you&#039;ve put a lot of &quot;code&quot; in the Xaml without realizing it.</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s on Control in Silverlight; UIElement in WPF.  For prototyping, I wouldn&#8217;t hesitate to use the approach you mention.  However, when you move to an actual implementation, its easy for this to get out of hand.  It&#8217;s something to be continually evaluating because you can very easily find that you&#8217;ve put a lot of &#8220;code&#8221; in the Xaml without realizing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-818</link>
		<dc:creator>joel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 05:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-818</guid>
		<description>Rob thanks for your comment.  I hear what you are saying, but I am not sure I would classify it as abuse.  What I like about the trigger is its ease of implementation (drag and drop).  Just yesterday I was mocking a few screens in Sketchflow and found the trigger very valuable for rapid prototyping.  I had a part of a screen where I needed a checkbox to acknowledge a user was a member of AAA?.  Checking the box displayed a group of fields to capture the AAA information.   My trigger was easier then constructing a ViewModel and adding a few properties.

Quick question about your approach….I did not think that UIElement.IsVisible had a setter, nor did I think it existed in Silverlight 3?</description>
		<content:encoded><![CDATA[<p>Rob thanks for your comment.  I hear what you are saying, but I am not sure I would classify it as abuse.  What I like about the trigger is its ease of implementation (drag and drop).  Just yesterday I was mocking a few screens in Sketchflow and found the trigger very valuable for rapid prototyping.  I had a part of a screen where I needed a checkbox to acknowledge a user was a member of AAA?.  Checking the box displayed a group of fields to capture the AAA information.   My trigger was easier then constructing a ViewModel and adding a few properties.</p>
<p>Quick question about your approach….I did not think that UIElement.IsVisible had a setter, nor did I think it existed in Silverlight 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Control Visibility with triggers &#124; Silverlight Travel</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-817</link>
		<dc:creator>Control Visibility with triggers &#124; Silverlight Travel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 05:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-817</guid>
		<description>[...] more here [...]</description>
		<content:encoded><![CDATA[<p>[...] more here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-816</link>
		<dc:creator>joel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 04:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-816</guid>
		<description>To bind the IsChecked from one element to the visibility of another, you would need to use a converter to go from a nullable bool to the System.Windows.Visibility enum.  It&#039;s how many of us did it in Silverlight 2.</description>
		<content:encoded><![CDATA[<p>To bind the IsChecked from one element to the visibility of another, you would need to use a converter to go from a nullable bool to the System.Windows.Visibility enum.  It&#8217;s how many of us did it in Silverlight 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foster</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-815</link>
		<dc:creator>Foster</dc:creator>
		<pubDate>Tue, 11 Aug 2009 00:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-815</guid>
		<description>Triggers are cool, but I wonder if your first one can be achieved with element binding?</description>
		<content:encoded><![CDATA[<p>Triggers are cool, but I wonder if your first one can be achieved with element binding?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Eisenberg</title>
		<link>http://joel.neubeck.net/2009/08/control-visibility-with-triggers/comment-page-1/#comment-814</link>
		<dc:creator>Rob Eisenberg</dc:creator>
		<pubDate>Mon, 10 Aug 2009 22:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2009/08/control-visibility-with-triggers/#comment-814</guid>
		<description>Triggers are an extremely powerful construct and very easily abused.  This type of usage puts too much behavior in the Xaml, where it doesn&#039;t belong.  A better approach would be to use a ViewModel and bind interested elements to the same property.  So, the RadioButton.IsChecked is bound to the same property as the UIElement.IsVisible.  Doing it this way even requires significantly less code as well.</description>
		<content:encoded><![CDATA[<p>Triggers are an extremely powerful construct and very easily abused.  This type of usage puts too much behavior in the Xaml, where it doesn&#8217;t belong.  A better approach would be to use a ViewModel and bind interested elements to the same property.  So, the RadioButton.IsChecked is bound to the same property as the UIElement.IsVisible.  Doing it this way even requires significantly less code as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
