<?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: Adding transitions to a MVVM based dialog</title>
	<atom:link href="http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/</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: Fred POINDRON</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-1199</link>
		<dc:creator>Fred POINDRON</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-1199</guid>
		<description>Hello Jérémy,

Comme évoqué précédemment, j&#039;utilise actuellement ta classe &quot;NavigationPresenter&quot; pour réaliser des transitions entre view. Je suis parti pour cela du code fourni dans ta solution AnimatedContentPresenter.sln.

Tout fonctionne bien...

Sauf que quand je place un &quot;breakpoint&quot; sur le constructeur de Page1View, je m&#039;aperçois que la vue est instanciée 2 fois au lancement de l&#039;application... J&#039;ai pas réussi à comprendre pourquoi . De même, lorsque que j&#039;active l&#039;animation de la &quot;Page2&quot; (pour passer de la Page1 à la Page2), je m&#039;aperçois que le constructeur de cette View est appelé 2 fois de suite; et que celui de la page1 est également appelé une fois ...

De ton côté, tu as déjà constaté ce mode de fonctionnement bizarroïde ?

Fred</description>
		<content:encoded><![CDATA[<p>Hello Jérémy,</p>
<p>Comme évoqué précédemment, j&#8217;utilise actuellement ta classe &#8220;NavigationPresenter&#8221; pour réaliser des transitions entre view. Je suis parti pour cela du code fourni dans ta solution AnimatedContentPresenter.sln.</p>
<p>Tout fonctionne bien&#8230;</p>
<p>Sauf que quand je place un &#8220;breakpoint&#8221; sur le constructeur de Page1View, je m&#8217;aperçois que la vue est instanciée 2 fois au lancement de l&#8217;application&#8230; J&#8217;ai pas réussi à comprendre pourquoi . De même, lorsque que j&#8217;active l&#8217;animation de la &#8220;Page2&#8243; (pour passer de la Page1 à la Page2), je m&#8217;aperçois que le constructeur de cette View est appelé 2 fois de suite; et que celui de la page1 est également appelé une fois &#8230;</p>
<p>De ton côté, tu as déjà constaté ce mode de fonctionnement bizarroïde ?</p>
<p>Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-1172</link>
		<dc:creator>Bernd</dc:creator>
		<pubDate>Thu, 04 Mar 2010 20:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-1172</guid>
		<description>Hello Jeremy,

I checked your sample again and the Visual State of the GUI is lost changing the pages. According to this statement I am interested in an answer:

 Jeremy Says: 
April 9th, 2009 at 10:31 am
Hmmm I noticed this behaviour too. I’ll check it out as soon as I can to try to understand how to fix it…

Do you know now how to fix with your code the visual recreation ?</description>
		<content:encoded><![CDATA[<p>Hello Jeremy,</p>
<p>I checked your sample again and the Visual State of the GUI is lost changing the pages. According to this statement I am interested in an answer:</p>
<p> Jeremy Says:<br />
April 9th, 2009 at 10:31 am<br />
Hmmm I noticed this behaviour too. I’ll check it out as soon as I can to try to understand how to fix it…</p>
<p>Do you know now how to fix with your code the visual recreation ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-1167</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Mon, 01 Mar 2010 22:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-1167</guid>
		<description>I think it depends whether the transitionals framework you use re-create the control each time. In this simple example it&#039;s the case.</description>
		<content:encoded><![CDATA[<p>I think it depends whether the transitionals framework you use re-create the control each time. In this simple example it&#8217;s the case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bernd</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-1104</link>
		<dc:creator>bernd</dc:creator>
		<pubDate>Sun, 14 Feb 2010 21:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-1104</guid>
		<description>quote:&quot;I didn’t notice this behaviour when I used the FluidKit without your ViewModel.&quot;

But I noticed this behaviour with Transitionals framework. Without using a transition between usercontrol the visual state  is lost. With Transitionals I switch/fade between datatemplates and the entered data in a textbox is saved switching back... ??? 

Someone knows why?</description>
		<content:encoded><![CDATA[<p>quote:&#8221;I didn’t notice this behaviour when I used the FluidKit without your ViewModel.&#8221;</p>
<p>But I noticed this behaviour with Transitionals framework. Without using a transition between usercontrol the visual state  is lost. With Transitionals I switch/fade between datatemplates and the entered data in a textbox is saved switching back&#8230; ??? </p>
<p>Someone knows why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAPF &#187; Blog Archive &#187; Review of 2009 blog posts</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-968</link>
		<dc:creator>JAPF &#187; Blog Archive &#187; Review of 2009 blog posts</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-968</guid>
		<description>[...] Adding transitions to a MVVM based dialog [...]</description>
		<content:encoded><![CDATA[<p>[...] Adding transitions to a MVVM based dialog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noah</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-838</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Thu, 10 Dec 2009 09:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-838</guid>
		<description>good job</description>
		<content:encoded><![CDATA[<p>good job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-359</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Mon, 10 Aug 2009 11:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-359</guid>
		<description>Thanks for the feedback Robert. I wrote a comment in your post. Your solution looks great !</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback Robert. I wrote a comment in your post. Your solution looks great !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-358</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 10 Aug 2009 11:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-358</guid>
		<description>A few months ago I wrote to you that I had some problems using your mvvm implementation for the fluidkit library.

Now, I had some time to look at the problem. I also learned some new things about Wpf in these months.

Anyway I created a new viewmodel and a small demonstration program. I thought you might be interested.

Here is the link to the blog post: http://reyntjes.blogspot.com/2009/07/viewmodel-for-fluidkit-transition.html</description>
		<content:encoded><![CDATA[<p>A few months ago I wrote to you that I had some problems using your mvvm implementation for the fluidkit library.</p>
<p>Now, I had some time to look at the problem. I also learned some new things about Wpf in these months.</p>
<p>Anyway I created a new viewmodel and a small demonstration program. I thought you might be interested.</p>
<p>Here is the link to the blog post: <a href="http://reyntjes.blogspot.com/2009/07/viewmodel-for-fluidkit-transition.html" rel="nofollow">http://reyntjes.blogspot.com/2009/07/viewmodel-for-fluidkit-transition.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-309</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 12 May 2009 12:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-309</guid>
		<description>Hi Shashi,

Actually, you&#039;re not supposed to refer view related stuff (like controls) in the viewmodel classes. The viewmodel represents an abstraction of the view: one of the advantage of this is that you can unit test your viewmodel classes easily.

There are 2 ways controls can &quot;talk&quot; with viewmodel classes: through databinding and through command. Using databinding you can ensure that viewmodel properties and view controls are in sync. Using commands, you can react to a user interaction in your view (for example a click on a button - without using events). If you need to deal with ItemsControl (ListBox for example), you can use ICollectionView too.</description>
		<content:encoded><![CDATA[<p>Hi Shashi,</p>
<p>Actually, you&#8217;re not supposed to refer view related stuff (like controls) in the viewmodel classes. The viewmodel represents an abstraction of the view: one of the advantage of this is that you can unit test your viewmodel classes easily.</p>
<p>There are 2 ways controls can &#8220;talk&#8221; with viewmodel classes: through databinding and through command. Using databinding you can ensure that viewmodel properties and view controls are in sync. Using commands, you can react to a user interaction in your view (for example a click on a button &#8211; without using events). If you need to deal with ItemsControl (ListBox for example), you can use ICollectionView too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi kant sinha</title>
		<link>http://www.japf.fr/2009/04/adding-transitions-to-a-mvvm-based-dialog/comment-page-1/#comment-308</link>
		<dc:creator>Shashi kant sinha</dc:creator>
		<pubDate>Tue, 12 May 2009 12:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=182#comment-308</guid>
		<description>Hi All,

Can anyone tell me how to refer controls which are in UI in View from ViewModel classes in MVVM Design Pattern for WPF.

Like if i have an WPF interface in View and want to write events in ViewModel, this i know how to do. But, when i need to refer the controls for example validation or etc. as we were earlier doing like &quot;this.txtFirstName&quot; in VS2.0, how can this be achievable in ViewModel class.</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Can anyone tell me how to refer controls which are in UI in View from ViewModel classes in MVVM Design Pattern for WPF.</p>
<p>Like if i have an WPF interface in View and want to write events in ViewModel, this i know how to do. But, when i need to refer the controls for example validation or etc. as we were earlier doing like &#8220;this.txtFirstName&#8221; in VS2.0, how can this be achievable in ViewModel class.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
