<?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: Very simple MVVM demo application</title>
	<atom:link href="http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/</link>
	<description>Jeremy Alles Presentation Foundation: WPF, .Net and modern software development</description>
	<lastBuildDate>Sat, 24 Jul 2010 08:59:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1732</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1732</guid>
		<description>This sample application is designed to work with WPF, not Silverlight. That&#039;s the reason why I&#039;m suggesting you to take a look at an MVVM framework which supports Silverlight.</description>
		<content:encoded><![CDATA[<p>This sample application is designed to work with WPF, not Silverlight. That&#8217;s the reason why I&#8217;m suggesting you to take a look at an MVVM framework which supports Silverlight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debashish Gupta</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1731</link>
		<dc:creator>Debashish Gupta</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1731</guid>
		<description>Hi Jeremy ,
Not sure , why are u telling me to use MVVM Framework.
As i see ur downloadable application works fine.
I cannot add dlls like PresentationFramework.dll etc.
Regards
Debashish.</description>
		<content:encoded><![CDATA[<p>Hi Jeremy ,<br />
Not sure , why are u telling me to use MVVM Framework.<br />
As i see ur downloadable application works fine.<br />
I cannot add dlls like PresentationFramework.dll etc.<br />
Regards<br />
Debashish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1729</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 20 Jul 2010 07:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1729</guid>
		<description>Debashish,

You don&#039;t have the exact same set of functionalities in Silverlight and WPF. That&#039;s why you have error with CommandManager and TypeDescription.

Please take a look at a MVVM frameworks which supports Silverlight in order to see a working implementation of the ICommand interface. For example, you can look at the MVVM Light Toolkit (http://mvvmlight.codeplex.com) and its RelayCommand class (http://mvvmlight.codeplex.com/SourceControl/changeset/view/47157#750822).

Hope this helps :)</description>
		<content:encoded><![CDATA[<p>Debashish,</p>
<p>You don&#8217;t have the exact same set of functionalities in Silverlight and WPF. That&#8217;s why you have error with CommandManager and TypeDescription.</p>
<p>Please take a look at a MVVM frameworks which supports Silverlight in order to see a working implementation of the ICommand interface. For example, you can look at the MVVM Light Toolkit (<a href="http://mvvmlight.codeplex.com" rel="nofollow">http://mvvmlight.codeplex.com</a>) and its RelayCommand class (<a href="http://mvvmlight.codeplex.com/SourceControl/changeset/view/47157#750822" rel="nofollow">http://mvvmlight.codeplex.com/SourceControl/changeset/view/47157#750822</a>).</p>
<p>Hope this helps <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debashish Gupta</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1722</link>
		<dc:creator>Debashish Gupta</dc:creator>
		<pubDate>Mon, 19 Jul 2010 14:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1722</guid>
		<description>Hi , I was trying to go through it.
But i could not make 
CommandManager.RequerySuggested += value; 
work as it was not able to find the CommandManager
-----------------
and 
if (TypeDescriptor.GetProperties(this)[propertyName]
in ViewModelBase
work as its not able to find the TypeDescriptor in System.ComponentModel.

I was trying to make a Silverlight Project and trying to make it run.

Regards
Debashish.</description>
		<content:encoded><![CDATA[<p>Hi , I was trying to go through it.<br />
But i could not make<br />
CommandManager.RequerySuggested += value;<br />
work as it was not able to find the CommandManager<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
and<br />
if (TypeDescriptor.GetProperties(this)[propertyName]<br />
in ViewModelBase<br />
work as its not able to find the TypeDescriptor in System.ComponentModel.</p>
<p>I was trying to make a Silverlight Project and trying to make it run.</p>
<p>Regards<br />
Debashish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1675</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Thu, 15 Jul 2010 12:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1675</guid>
		<description>Ok, I see now :) It changes but after selecting again from list. But in other way. So thank you very much :) My weekend will be happier thanks your article ! :) Have a nice weekend, too :)</description>
		<content:encoded><![CDATA[<p>Ok, I see now <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It changes but after selecting again from list. But in other way. So thank you very much <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  My weekend will be happier thanks your article ! <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Have a nice weekend, too <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1674</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 15 Jul 2010 12:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1674</guid>
		<description>I just did the test: if I change the second TextBox in the DetailView to display the Age property, and without the correct OnPropertyChanged, any changes in the first TextBox is not reflected in the second TextBox.

However, adding the OnPropertyChanged fix this issue.</description>
		<content:encoded><![CDATA[<p>I just did the test: if I change the second TextBox in the DetailView to display the Age property, and without the correct OnPropertyChanged, any changes in the first TextBox is not reflected in the second TextBox.</p>
<p>However, adding the OnPropertyChanged fix this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1673</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Thu, 15 Jul 2010 11:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1673</guid>
		<description>Thank You for help.

Unfortunately when I add second textbox linked with Age property everything works ok. So I convert ObservableCollection to List, and removed inheritance from ViemModelBase from MasterViewModel and it still works. I appreciate that you have time for me. I&#039;m very newbie.</description>
		<content:encoded><![CDATA[<p>Thank You for help.</p>
<p>Unfortunately when I add second textbox linked with Age property everything works ok. So I convert ObservableCollection to List, and removed inheritance from ViemModelBase from MasterViewModel and it still works. I appreciate that you have time for me. I&#8217;m very newbie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAPF &#187; Blog Archive &#187; Where does the default TwoWay binding comes from ?</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1672</link>
		<dc:creator>JAPF &#187; Blog Archive &#187; Where does the default TwoWay binding comes from ?</dc:creator>
		<pubDate>Thu, 15 Jul 2010 11:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1672</guid>
		<description>[...] got a comment on my post about a very simple MVVM application about the fact that removing the TwoWay mode on a binding did not change the behavior of the [...]</description>
		<content:encoded><![CDATA[<p>[...] got a comment on my post about a very simple MVVM application about the fact that removing the TwoWay mode on a binding did not change the behavior of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1671</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 15 Jul 2010 11:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1671</guid>
		<description>Damian,

About the OnPropertyChanges(&quot;FirstName&quot;) with the Age property it&#039;s a mistake. It should be &quot;Age&quot; of course.

About the TwoWay binding it depends actually on the associated DependencyProperty of the control. In a TextBox, the Text property is declared with the BindsTwoWayByDefault option which explain why removing the explicit TwoWay does not change the behavior.

Finally, about the OnPropertyChanged, you can&#039;t see the benefits in this demo because I&#039;m not demonstrating this synchronization. But if for example you put 2 TextBoxes linked with the same property (ie. Age) you&#039;ll see that without the OnPropertyChanged only one will be refreshed.

Hope this helps !</description>
		<content:encoded><![CDATA[<p>Damian,</p>
<p>About the OnPropertyChanges(&#8220;FirstName&#8221;) with the Age property it&#8217;s a mistake. It should be &#8220;Age&#8221; of course.</p>
<p>About the TwoWay binding it depends actually on the associated DependencyProperty of the control. In a TextBox, the Text property is declared with the BindsTwoWayByDefault option which explain why removing the explicit TwoWay does not change the behavior.</p>
<p>Finally, about the OnPropertyChanged, you can&#8217;t see the benefits in this demo because I&#8217;m not demonstrating this synchronization. But if for example you put 2 TextBoxes linked with the same property (ie. Age) you&#8217;ll see that without the OnPropertyChanged only one will be refreshed.</p>
<p>Hope this helps !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://www.japf.fr/2009/02/very-simple-mvvm-demo-application/comment-page-1/#comment-1667</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Thu, 15 Jul 2010 09:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=137#comment-1667</guid>
		<description>More, I even removed inheritance from ViewModelBase and Mode=TwoWay and still works fine. I&#039;m little confused :/</description>
		<content:encoded><![CDATA[<p>More, I even removed inheritance from ViewModelBase and Mode=TwoWay and still works fine. I&#8217;m little confused :/</p>
]]></content:encoded>
	</item>
</channel>
</rss>
