<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MVVM for Windows 8</title><link>http://w8mvvm.codeplex.com/project/feeds/rss</link><description>This library contains all you need to build a WinRT Metro Style application for Windows 8 using MVVM pattern, C&amp;#35; and XAML.</description><item><title>Edited Issue: Navigation parameter [1619]</title><link>http://w8mvvm.codeplex.com/workitem/1619</link><description>Add an overload for the NavigationState.Navigate method that accept a user defined parameter.&lt;br /&gt;This parameter is useful when you want to include your page state into the navigation history.&lt;br /&gt;&lt;br /&gt;public bool Navigate&amp;#40;&lt;br /&gt;  Type sourcePageType, &lt;br /&gt;  object parameter&lt;br /&gt;&amp;#41;&lt;br /&gt;</description><author>mglukhankov</author><pubDate>Tue, 28 May 2013 20:56:27 GMT</pubDate><guid isPermaLink="false">Edited Issue: Navigation parameter [1619] 20130528085627P</guid></item><item><title>Source code checked in, #28740</title><link>http://w8mvvm.codeplex.com/SourceControl/changeset/changes/28740</link><description>updated library version </description><author>ygrik</author><pubDate>Tue, 28 May 2013 19:35:35 GMT</pubDate><guid isPermaLink="false">Source code checked in, #28740 20130528073535P</guid></item><item><title>Created Release: v1.0.0.8 (May 28, 2013)</title><link>https://w8mvvm.codeplex.com/releases?ReleaseId=107207</link><description>&lt;div class="wikidoc"&gt;Supported navigation parameter.&lt;br /&gt;Added NavigationState.Navigate(Type pageType, object parameter) method.&lt;br /&gt;NavigationState.Navigated raises on state loading.&lt;br /&gt;Changed IPageModel interface.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Tue, 28 May 2013 18:30:53 GMT</pubDate><guid isPermaLink="false">Created Release: v1.0.0.8 (May 28, 2013) 20130528063053P</guid></item><item><title>Released: v1.0.0.8 (May 28, 2013)</title><link>http://w8mvvm.codeplex.com/releases/view/107207</link><description>
&lt;div class="wikidoc"&gt;Supported navigation parameter.&lt;br&gt;
Added NavigationState.Navigate(Type pageType, object parameter) method.&lt;br&gt;
NavigationState.Navigated raises on state loading.&lt;br&gt;
Changed IPageModel interface.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Tue, 28 May 2013 18:30:53 GMT</pubDate><guid isPermaLink="false">Released: v1.0.0.8 (May 28, 2013) 20130528063053P</guid></item><item><title>Source code checked in, #28739</title><link>http://w8mvvm.codeplex.com/SourceControl/changeset/changes/28739</link><description>Build &amp;#35; 1.0.0.8.</description><author>mglukhankov</author><pubDate>Tue, 28 May 2013 18:20:59 GMT</pubDate><guid isPermaLink="false">Source code checked in, #28739 20130528062059P</guid></item><item><title>Source code checked in, #28738</title><link>http://w8mvvm.codeplex.com/SourceControl/changeset/changes/28738</link><description>Changed IPageModel interface&amp;#58; OnNavigatingFrom, OnNavigatedFrom, OnNavigatedTo, added navigation param.&amp;#13;&amp;#10;Improoved the NavigationState class&amp;#58; state includes navigation param, Navigated&amp;#47;Navigating occur on state load.</description><author>mglukhankov</author><pubDate>Tue, 28 May 2013 18:15:49 GMT</pubDate><guid isPermaLink="false">Source code checked in, #28738 20130528061549P</guid></item><item><title>Commented Issue: Navigation parameter [1619]</title><link>http://w8mvvm.codeplex.com/workitem/1619</link><description>Add an overload for the NavigationState.Navigate method that accept a user defined parameter.&lt;br /&gt;This parameter is useful when you want to include your page state into the navigation history.&lt;br /&gt;&lt;br /&gt;public bool Navigate&amp;#40;&lt;br /&gt;  Type sourcePageType, &lt;br /&gt;  object parameter&lt;br /&gt;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: mglukhankov ** &lt;p&gt;I'm working on this issue.&lt;br&gt;Basically I have an implementation already.&lt;br&gt;The IPageModel interface is extended and its methods are renamed to match Page methods.&lt;br&gt;I'm not sure which notification methods should be called during SetNavigationState, GetNavigationState and Reset methods' calls. I'm trying to mimic the Page behavior.&lt;/p&gt;</description><author>mglukhankov</author><pubDate>Wed, 24 Apr 2013 20:28:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: Navigation parameter [1619] 20130424082848P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;I do want to databind, but could not make it work with selected items. I have a button and when it is clicked a new viewmodel is added to my TabItemsViewModelsCollection which will add a new tab to my TabControl. My Problem was to get the Command and CommandParameter to work on the button.&lt;br /&gt;
&lt;br /&gt;
I had something like &amp;lt;button CommandParameter=&amp;quot;{Binding SelectedItem ,ElementName=MyListView}&amp;quot; Command=&amp;quot;{Binding OpenTabCommand}&amp;quot;&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
While reproducing my error it hit me that the problem was i had bound it to SelectedItem isntead of Selecteditems, which made the eventcommand CanExecute return false and not being set to true. Changing it to SelectedItems and handing Count&amp;gt;0 in my Command delegate solved my problems.&lt;br /&gt;
&lt;br /&gt;
Thanks for the discussion, helped me a lot.&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sun, 31 Mar 2013 01:00:53 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130331010053A</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;I do want to databind, but could not make it work with selected items. I have a button and when it is clicked a new viewmodel is added to my TabItemsViewModelsCollection which will add a new tab to my TabControl. My Problem was to get the Command and CommandParameter to work on the button.&lt;br /&gt;
&lt;br /&gt;
I had something like &amp;lt;button CommandParameter=&amp;quot;{Binding SelectedItem ,ElementName=MyListView}&amp;quot; Command=&amp;quot;{Binding OpenTabCommand}&amp;quot;&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
While reproducing my error it hit me that the problem was i had bound it to SelectedItem isntead of Selecteditems, which made the eventcommand CanExecute return false and not being set to true. Changing it to SelectedItems and handing Count&amp;gt;0 in my Command delegate solved my problems.&lt;br /&gt;
&lt;br /&gt;
Thanks for the discussion, helped me a lot.&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sun, 31 Mar 2013 01:00:53 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130331010053A</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;Elements is protected on purpose so you cannot break the rules. &lt;br /&gt;
&lt;br /&gt;
Do not use wrappers where you can use bindings. Selected items should be bound.&lt;br /&gt;
&lt;br /&gt;
Multiple elements come from multiple bindings.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Sun, 31 Mar 2013 00:52:11 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130331125211A</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;Elements is protected on purpose so you cannot break the rules. &lt;br /&gt;
&lt;br /&gt;
Do not use wrappers where you can use bindings. Selected items should be bound.&lt;br /&gt;
&lt;br /&gt;
Multiple elements come from multiple bindings.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Sun, 31 Mar 2013 00:52:11 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130331125211A</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;Okay&lt;br /&gt;
&lt;br /&gt;
I have a case here where i had a button that when clicked it should open a new tab in a tabcontrol based on the item selected in a listview. &lt;br /&gt;
First i tried to use a command, EventCommand and CommandParameter resulting in the button being set to disabled because canExecute returned false the first time when no items was selected in the list. Instead i tried binding just a command with a RelayCommand, but then i had to have a wrapper for the listview to get the selected item in my model. &lt;br /&gt;
&lt;br /&gt;
So making the Elements public on the Wrapper was a lot easier then writing these intermediate layers, but i do see your argument.&lt;br /&gt;
&lt;br /&gt;
I havent been able to figure out why you have a Set of Elements in the wrappers? In what situation can there be more than one element in a wrapper? My guess is that you can bind two elements to the same wrapper, but why would one do that?&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sat, 30 Mar 2013 23:49:25 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330114925P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;Okay&lt;br /&gt;
&lt;br /&gt;
I have a case here where i had a button that when clicked it should open a new tab in a tabcontrol based on the item selected in a listview. &lt;br /&gt;
First i tried to use a command, EventCommand and CommandParameter resulting in the button being set to disabled because canExecute returned false the first time when no items was selected in the list. Instead i tried binding just a command with a RelayCommand, but then i had to have a wrapper for the listview to get the selected item in my model. &lt;br /&gt;
&lt;br /&gt;
So making the Elements public on the Wrapper was a lot easier then writing these intermediate layers, but i do see your argument.&lt;br /&gt;
&lt;br /&gt;
I havent been able to figure out why you have a Set of Elements in the wrappers? In what situation can there be more than one element in a wrapper? My guess is that you can bind two elements to the same wrapper, but why would one do that?&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sat, 30 Mar 2013 23:49:25 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330114925P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;This will break the whole idea of mvvm. A model should not know about its view. &lt;br /&gt;
But a wrapper is in an intermediate layer that can work without a view and can be replaced with something else in e.g. unit tests.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Sat, 30 Mar 2013 22:59:28 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330105928P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;This will break the whole idea of mvvm. A model should not know about its view. &lt;br /&gt;
But a wrapper is in an intermediate layer that can work without a view and can be replaced with something else in e.g. unit tests.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Sat, 30 Mar 2013 22:59:28 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330105928P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;I have been using some of your ideas in my own WPF applicatino and Windows 8 store apps as i have found it intuitive to use.&lt;br /&gt;
&lt;br /&gt;
But this question i havent been able to answer my self.&lt;br /&gt;
&lt;br /&gt;
I get the idea of wrapping Views back to Model and your example for Focus is fine.&lt;br /&gt;
But why is the element protected in ElementWrapper, meaning that whenever someone want to do this on something else then focus he have to extend your code?&lt;br /&gt;
&lt;br /&gt;
Would it not make sense to have the wrapper just expose the view element directly to be used in the model ?&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sat, 30 Mar 2013 21:04:24 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330090424P</guid></item><item><title>New Post: ElementWrapper, care to elaborate a little ?</title><link>http://w8mvvm.codeplex.com/discussions/438547</link><description>&lt;div style="line-height: normal;"&gt;I have been using some of your ideas in my own WPF applicatino and Windows 8 store apps as i have found it intuitive to use.&lt;br /&gt;
&lt;br /&gt;
But this question i havent been able to answer my self.&lt;br /&gt;
&lt;br /&gt;
I get the idea of wrapping Views back to Model and your example for Focus is fine.&lt;br /&gt;
But why is the element protected in ElementWrapper, meaning that whenever someone want to do this on something else then focus he have to extend your code?&lt;br /&gt;
&lt;br /&gt;
Would it not make sense to have the wrapper just expose the view element directly to be used in the model ?&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sat, 30 Mar 2013 21:04:24 GMT</pubDate><guid isPermaLink="false">New Post: ElementWrapper, care to elaborate a little ? 20130330090424P</guid></item><item><title>New Post: How to bind against a event that are not supported?</title><link>http://w8mvvm.codeplex.com/discussions/438054</link><description>&lt;div style="line-height: normal;"&gt;Thanks. I've added DragItemsStarting too.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Wed, 27 Mar 2013 15:17:16 GMT</pubDate><guid isPermaLink="false">New Post: How to bind against a event that are not supported? 20130327031716P</guid></item><item><title>New Post: How to bind against a event that are not supported?</title><link>http://w8mvvm.codeplex.com/discussions/438054</link><description>&lt;div style="line-height: normal;"&gt;Thanks. I've added DragItemsStarting too.&lt;br /&gt;
&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Wed, 27 Mar 2013 15:17:16 GMT</pubDate><guid isPermaLink="false">New Post: How to bind against a event that are not supported? 20130327031716P</guid></item><item><title>Created Release: v1.0.0.7 (Mar 27, 2013)</title><link>https://w8mvvm.codeplex.com/releases?ReleaseId=104122</link><description>&lt;div class="wikidoc"&gt;Added EventBinding.DragItemsStarting property.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mglukhankov</author><pubDate>Wed, 27 Mar 2013 15:15:29 GMT</pubDate><guid isPermaLink="false">Created Release: v1.0.0.7 (Mar 27, 2013) 20130327031529P</guid></item></channel></rss>