<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mugenmvvmtoolkit Wiki Rss Feed</title><link>http://mugenmvvmtoolkit.codeplex.com/</link><description>mugenmvvmtoolkit Wiki Rss Description</description><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:Desi&lt;strong&gt;&lt;span style="color:red"&gt;g&lt;/span&gt;&lt;/strong&gt;nViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:Desi&lt;strong&gt;&lt;span style="color:red"&gt;&lt;strong&gt;&lt;span style="color:red"&gt;&lt;strong&gt;&lt;span style="color:red"&gt;g&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="color:red"&gt;n&lt;/span&gt;&lt;/strong&gt;ViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Fri, 04 May 2012 08:27:03 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120504082703A</guid></item><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:Desi&lt;strong&gt;&lt;span style="color:red"&gt;n&lt;strong&gt;&lt;span style="color:red"&gt;g&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;ViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Fri, 04 May 2012 08:23:32 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120504082332A</guid></item><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:Desig&lt;strong&gt;&lt;span style="color:red"&gt;n&lt;/span&gt;&lt;/strong&gt;ViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Fri, 04 May 2012 08:23:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120504082311A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://mugenmvvmtoolkit.codeplex.com/documentation?version=7</link><description>&lt;div class="wikidoc"&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;referringTitle=Documentation"&gt;The concept of the Toolkit.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20WPF&amp;referringTitle=Documentation"&gt;Getting started WPF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;referringTitle=Documentation"&gt;Getting started Silverlight&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;referringTitle=Documentation"&gt;Design mode&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;referringTitle=Documentation"&gt;Working with asynchronous.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;referringTitle=Documentation"&gt;Work with dialog window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window&amp;referringTitle=Documentation"&gt;Work with child window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;referringTitle=Documentation"&gt;Work with Relay command&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;referringTitle=Documentation"&gt;Use view property, event, etc.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;referringTitle=Documentation"&gt;Unit testing&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;referringTitle=Documentation"&gt;Data annotation validation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;referringTitle=Documentation"&gt;Silverlight navigation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Event%20and%20property%20manager&amp;referringTitle=Documentation"&gt;Event and property manager&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more info see example.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Thu, 19 Apr 2012 17:02:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120419050259P</guid></item><item><title>Updated Wiki: Work with Relay command</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work with Relay command&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;For work with commands, use class RelayCommand,&amp;nbsp;it implements an interface ICommand.&lt;/p&gt;
&lt;p&gt;In the class RelaySommand identified four constructors, for Wpf requires only two (the other for backward compatibility with SL applications).&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute)

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute)

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;propertyChanged&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Object implemented &amp;lt;see cref=&amp;quot;INotifyPropertyChanged&amp;quot;/&amp;gt; for auto call event CanExecuteChanged. &lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; If you change the properties of the objects to be caused by an event CanExecuteChanged.&amp;lt;/param&amp;gt;&lt;/span&gt;
[Obsolete(&lt;span style="color:#a31515"&gt;&amp;quot;This is only for Silverligth. WPF will ignore the other parameters related with INotifyPropertyChanged.&amp;quot;&lt;/span&gt;)]
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute, &lt;span style="color:blue"&gt;params&lt;/span&gt; INotifyPropertyChanged[] propertyChanged)

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;property&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Specified property for execute event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt; &amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;propertyChanged&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Object implemented &amp;lt;see cref=&amp;quot;INotifyPropertyChanged&amp;quot;/&amp;gt; for auto call event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt;. &lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; If you change the properties of the objects to be caused by an event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt;.&amp;lt;/param&amp;gt;&lt;/span&gt;
[Obsolete(&lt;span style="color:#a31515"&gt;&amp;quot;This is only for Silverligth. WPF will ignore the other parameters related with INotifyPropertyChanged.&amp;quot;&lt;/span&gt;)]
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute, IList&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt; property, &lt;span style="color:blue"&gt;params&lt;/span&gt; INotifyPropertyChanged[] propertyChanged)
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;For Silverlight:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute)

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
[Obsolete(&lt;span style="color:#a31515"&gt;&amp;quot;This is only for WPF, in silverlight canExecute will not work use RelayCommand(Action&amp;lt;object&amp;gt; execute, Predicate&amp;lt;object&amp;gt; canExecute, params INotifyPropertyChanged[] propertyChanged).&amp;quot;&lt;/span&gt;)]
&lt;span style="color:blue"&gt;public&lt;/span&gt; RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute)
            

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;propertyChanged&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Object implemented &amp;lt;see cref=&amp;quot;INotifyPropertyChanged&amp;quot;/&amp;gt; for auto call event CanExecuteChanged. &lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; If you change the properties of the objects to be caused by an event CanExecuteChanged.&amp;lt;/param&amp;gt;&lt;/span&gt;
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute, &lt;span style="color:blue"&gt;params&lt;/span&gt; INotifyPropertyChanged[] propertyChanged)

&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Create new instance &amp;lt;see cref=&amp;quot;RelayCommand&amp;quot;/&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;execute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command action for execute.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;canExecute&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Command condition.&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;property&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Specified property for execute event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt; &amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;propertyChanged&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;Object implemented &amp;lt;see cref=&amp;quot;INotifyPropertyChanged&amp;quot;/&amp;gt; for auto call event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt;. &lt;/span&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; If you change the properties of the objects to be caused by an event &amp;lt;see cref=&amp;quot;CanExecuteChanged&amp;quot;/&amp;gt;.&amp;lt;/param&amp;gt;&lt;/span&gt;
RelayCommand(Action&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; execute, Predicate&amp;lt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&amp;gt; canExecute, IList&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt; property, &lt;span style="color:blue"&gt;params&lt;/span&gt; INotifyPropertyChanged[] propertyChanged)
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:46:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Work with Relay command 20120414034609P</guid></item><item><title>Updated Wiki: Work with child window</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work with child window&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To use the child window you need to create a view and view model for him.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;View for child window:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [ViewModel(&lt;span style="color:blue"&gt;typeof&lt;/span&gt; (MyChildWindowViewModel))]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;partial&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyChildWindowView : IChildWindowView
    {
        &lt;span style="color:blue"&gt;public&lt;/span&gt; MyChildWindowView()
        {
            InitializeComponent();
        }
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;View model for child window:&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyChildWindowViewModel : ChildWindowViewModel
{
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Example of use:&lt;/strong&gt;&amp;nbsp; &lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; ShowMyChildWindow()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; myChildWindowViewModel = GetViewModel&amp;lt;MyChildWindowViewModel&amp;gt;();

            &lt;span style="color:green"&gt;//Show child window, callback executed after close child window.&lt;/span&gt;
            myChildWindowViewModel.Show(model =&amp;gt; {});
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;&lt;strong style="color:black"&gt;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:45:44 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Work with child window 20120414034544P</guid></item><item><title>Updated Wiki: Work with child window</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work with child window&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To use the child window you need to create a view and view model for him.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;View for child window:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [ViewModel(&lt;span style="color:blue"&gt;typeof&lt;/span&gt; (MyChildWindowViewModel))]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;partial&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyChildWindowView : IChildWindowView
    {
        &lt;span style="color:blue"&gt;public&lt;/span&gt; MyChildWindowView()
        {
            InitializeComponent();
        }
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;View model for child window:&lt;/strong&gt;&amp;nbsp; &lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyChildWindowViewModel : ChildWindowViewModel
{
}

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example of use:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;&lt;strong style="color:black"&gt;&lt;/strong&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;private &lt;/span&gt;&lt;span style="color:blue"&gt;void&lt;/span&gt;&lt;span style="background-color:white"&gt; ShowMyChildWindow()&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; myChildWindowViewModel = GetViewModel&amp;lt;MyChildWindowViewModel&amp;gt;();

            &lt;span style="color:green"&gt;//Show child window, callback executed after close child window.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="color:black"&gt;
            myChildWindowViewModel.Show(model =&amp;gt; {});
        }&lt;/pre&gt;
&lt;strong style="color:black"&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:45:13 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Work with child window 20120414034513P</guid></item><item><title>Updated Wiki: Work with dialog window</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work with dialog window&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To use the dialog window you need to create a view and view model for him.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;View for dialog window:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[ViewModel(&lt;span style="color:blue"&gt;typeof&lt;/span&gt; (MyTestDialogViewModel))]
&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;partial&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyTestDialogView : IDialogView
{
        &lt;span style="color:blue"&gt;public&lt;/span&gt; MyTestDialogView()
        {
            InitializeComponent();
        }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;View model for dialog window:&lt;/strong&gt;&amp;nbsp; &lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyTestDialogViewModel : DialogViewModel
{
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example of use:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; ShowMyTestDialog()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; myTestDialogViewModel = GetViewModel&amp;lt;MyTestDialogViewModel&amp;gt;();

            &lt;span style="color:green"&gt;//Show dialog.&lt;/span&gt;
            myTestDialogViewModel.Show();

            &lt;span style="color:green"&gt;//Show modal dialog.&lt;/span&gt;
            myTestDialogViewModel.ShowDialog();
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:44:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Work with dialog window 20120414034420P</guid></item><item><title>Updated Wiki: Work with dialog window</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work with dialog window&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To use the dialog window you need to create a view and view model for him.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;View for dialog window:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[ViewModel(&lt;span style="color:blue"&gt;typeof&lt;/span&gt; (MyTestDialogViewModel))]
&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;partial&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MyTestDialogView : IDialogView
{
        &lt;span style="color:blue"&gt;public&lt;/span&gt; MyTestDialogView()
        {
            InitializeComponent();
        }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;View model for dialog window:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;&lt;/div&gt;
&lt;/strong&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public &lt;/span&gt;&lt;span style="color:blue; background-color:white"&gt;class &lt;/span&gt;&lt;span style="background-color:white"&gt;MyTestDialogViewModel : DialogViewModel&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;{
}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example of use:&lt;/strong&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; ShowMyTestDialog()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; myTestDialogViewModel = GetViewModel&amp;lt;MyTestDialogViewModel&amp;gt;();

            &lt;span style="color:green"&gt;//Show dialog.&lt;/span&gt;
            myTestDialogViewModel.Show();

            &lt;span style="color:green"&gt;//Show modal dialog.&lt;/span&gt;
            myTestDialogViewModel.ShowDialog();
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:43:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Work with dialog window 20120414034355P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://mugenmvvmtoolkit.codeplex.com/documentation?version=6</link><description>&lt;div class="wikidoc"&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;referringTitle=Documentation"&gt;The concept of the Toolkit.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20WPF&amp;referringTitle=Documentation"&gt;Getting started WPF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;referringTitle=Documentation"&gt;Getting started Silverlight&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;referringTitle=Documentation"&gt;Design mode&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;referringTitle=Documentation"&gt;Working with asynchronous.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;referringTitle=Documentation"&gt;Work with dialog window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window&amp;referringTitle=Documentation"&gt;Work with child window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;referringTitle=Documentation"&gt;Work with Relay command&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;referringTitle=Documentation"&gt;Use view property, event, etc.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;referringTitle=Documentation"&gt;Unit testing&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;referringTitle=Documentation"&gt;Data annotation validation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;referringTitle=Documentation"&gt;Silverlight navigation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Event%20and%20property%20manager&amp;referringTitle=Documentation"&gt;Event and property manager&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more info see example.&lt;br /&gt;&lt;br /&gt;At the moment only supports a Ioc container &lt;a href="http://mugeninjection.codeplex.com/"&gt;http://mugeninjection.codeplex.com/&lt;/a&gt;, in the near future I will add support for all popular containers.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:42:57 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120414034257P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://mugenmvvmtoolkit.codeplex.com/documentation?version=5</link><description>&lt;div class="wikidoc"&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;referringTitle=Documentation"&gt;The concept of the Toolkit.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20WPF&amp;referringTitle=Documentation"&gt;Getting started WPF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;referringTitle=Documentation"&gt;Getting started Silverlight&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;referringTitle=Documentation"&gt;Design mode&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;referringTitle=Documentation"&gt;Working with asynchronous.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;referringTitle=Documentation"&gt;Work with dialog window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window&amp;referringTitle=Documentation"&gt;Work with child window&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;referringTitle=Documentation"&gt;Work with Relay command&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;referringTitle=Documentation"&gt;Use view property, event, etc.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;referringTitle=Documentation"&gt;Unit testing&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;referringTitle=Documentation"&gt;Data annotation validation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;referringTitle=Documentation"&gt;Silverlight navigation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Event%20and%20property%20manager&amp;referringTitle=Documentation"&gt;Event and property manager&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more info see example.&lt;br /&gt;&lt;br /&gt;At the moment only supports a Ioc container &lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Mugen%20Injection%3ahttp%3a%2f%2fmugeninjection.codeplex.com%2f&amp;referringTitle=Documentation"&gt;Mugen Injection&amp;#58;http&amp;#58;&amp;#47;&amp;#47;mugeninjection.codeplex.com&amp;#47;&lt;/a&gt;, in the near future I will add support for all popular containers.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:42:40 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120414034240P</guid></item><item><title>Updated Wiki: Home</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;Project Description&lt;/strong&gt;&lt;br&gt;
Mugen MVVM Toolkit makes it easier to develop Silverlight, WPF and WP7 applications using the Model-View-ViewModel design pattern. It is very easy to use. It combines the pattern of DI (dependency injection) and MVVM (Model-View-ViewModel).&amp;nbsp;See documentation
 and example for more detail.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Very easy to use (example &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20wpf&amp;version=1"&gt;
wpf&lt;/a&gt;, &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;version=1"&gt;
silverlight&lt;/a&gt;). &amp;nbsp; &lt;/li&gt;&lt;li&gt;Each ViewModel contains independent of other Ioc container (&lt;a title="Concept" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Support for Silverlight, WPF and Windows Phone 7. &lt;/li&gt;&lt;li&gt;Support &lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;IsNewlyCreatedPage=true"&gt;
work in design mode&lt;/a&gt;, you can use fake bindings for your Ioc container. &lt;/li&gt;&lt;li&gt;Supports unit-test (&lt;a title="Unit testing" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;version=2"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;version=2"&gt;RelayCommand&lt;/a&gt;&lt;span&gt;&amp;nbsp;- provides for small, simple command declarations. The execution logic, and optionally can-execute logic.&lt;/span&gt;
&lt;/li&gt;&lt;li&gt;Async support with transparent marshaling to the UI thread (&lt;a title="Work with asynchronous" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Helpers for work with Task. &lt;/li&gt;&lt;li&gt;Very easy work with dialogs&amp;nbsp;(&lt;a title="Work with dialog window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;version=3"&gt;example&lt;/a&gt;) and child windows&amp;nbsp;(&lt;a title="Work with child window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;You can use any event from the view in the view model, and it is very easy to test (&lt;a title="Example" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;version=2"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Support data annotation validation attributes, for SL add&amp;nbsp;MetadataTypeAttribute for use in partial class (&lt;a title="DataAnnotations" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;version=3"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Closeable ViewModels (when you are using TabControl). &lt;/li&gt;&lt;li&gt;Simple page navigation for SL app (&lt;a title="Navigation" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;version=3"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Supported platforms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WPF &lt;/li&gt;&lt;li&gt;Silverlight 3-5 &lt;/li&gt;&lt;li&gt;Windows phone 7-7.1 &amp;nbsp; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Plans:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add support for the popular Ioc containers.&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:37:39 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120414033739P</guid></item><item><title>Updated Wiki: Event and property manager</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Event and property manager&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;Event manager&lt;/strong&gt; behavior, allowing you to bind any event of any UI element to an ICommand, for example on the ViewModel, directly in XAML. This makes using Commands much easier, without writing code behind. You can even get the EventArgs of
 the fired event directly in the ViewModel to handle it. Example:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Grid&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt; &lt;span style="color:red"&gt;EventName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;SizeChanged&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;PropertyManager&lt;/span&gt; &lt;span style="color:red"&gt;Binding&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;{Binding Path=ActualWidth, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;SourceProperty&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ActualWidth&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Button&lt;/span&gt; &lt;span style="color:red"&gt;Content&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;DoubleClick&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt; &lt;span style="color:red"&gt;EventName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MouseDoubleClick&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventManager&lt;/span&gt; &lt;span style="color:red"&gt;IsChangeEnabledState&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;True&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Command&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;{Binding Path=DoubleClickCommand}&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;CommandParameter&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;TestParameter&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
                &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Button&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Grid&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ViewModel:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Constructor

        &lt;span style="color:blue"&gt;public&lt;/span&gt; MainWindowViewModel()
        {
            DoubleClickCommand = &lt;span style="color:blue"&gt;new&lt;/span&gt; RelayCommand(Execute, CanExecute);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;        

       &lt;span style="color:blue"&gt;#region&lt;/span&gt; Command

        &lt;span style="color:blue"&gt;public&lt;/span&gt; ICommand DoubleClickCommand { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Method

        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;bool&lt;/span&gt; CanExecute(&lt;span style="color:blue"&gt;object&lt;/span&gt; o)
        {
            &lt;span style="color:blue"&gt;return&lt;/span&gt; ActualWidth &amp;gt; 400;
        }

        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Execute(&lt;span style="color:blue"&gt;object&lt;/span&gt; o)
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; commandParameters = (CommandParameters)o;
            &lt;span style="color:green"&gt;//Contain command parameter&lt;/span&gt;
            &lt;span style="color:blue"&gt;object&lt;/span&gt; commandParameter = commandParameters.CommandParameter;
            &lt;span style="color:green"&gt;//Contain event parameter&lt;/span&gt;
            &lt;span style="color:blue"&gt;object&lt;/span&gt; eventParameter = commandParameters.EventParameter;
            MessageBox.Show(&lt;span style="color:blue"&gt;string&lt;/span&gt;.Format(&lt;span style="color:#a31515"&gt;&amp;quot;Command parameter: {0}.\nEvent parameter: {1}.&amp;quot;&lt;/span&gt;, commandParameter,
                                          eventParameter));
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Property manager&lt;/strong&gt;&amp;nbsp;behavior, allowing you to bind any property(include not self bindable) of any UI element to an your property, for example on the ViewModel, directly in XAML. Example:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt; &lt;span style="color:red"&gt;EventName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;SizeChanged&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;PropertyManager&lt;/span&gt; &lt;span style="color:red"&gt;Binding&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;{Binding Path=ActualWidth, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged}&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;SourceProperty&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ActualWidth&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;EventTrigger&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;i&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;Interaction.Triggers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ViewModel:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;

        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;double&lt;/span&gt; _actualWidth;

        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;double&lt;/span&gt; ActualWidth
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt; { &lt;span style="color:blue"&gt;return&lt;/span&gt; _actualWidth; }
            &lt;span style="color:blue"&gt;set&lt;/span&gt;
            {
                _actualWidth = value;
            }
        }

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Sat, 14 Apr 2012 15:27:58 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Event and property manager 20120414032758P</guid></item><item><title>Updated Wiki: Home</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;Project Description&lt;/strong&gt;&lt;br&gt;
Mugen MVVM Toolkit makes it easier to develop Silverlight, WPF and WP7 applications using the Model-View-ViewModel design pattern. It is very easy to use. It combines the pattern of DI (dependency injection) and MVVM (Model-View-ViewModel).&amp;nbsp;See documentation
 and example for more detail.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Very easy to use (example &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20wpf&amp;version=1"&gt;
wpf&lt;/a&gt;, &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;version=1"&gt;
silverlight&lt;/a&gt;). &amp;nbsp; &lt;/li&gt;&lt;li&gt;Each ViewModel contains independent of other Ioc container (&lt;a title="Concept" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Support for Silverlight, WPF and Windows Phone 7. &lt;/li&gt;&lt;li&gt;Support &lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;IsNewlyCreatedPage=true"&gt;
work in design mode&lt;/a&gt;, you can use fake bindings for your Ioc container. &lt;/li&gt;&lt;li&gt;Supports unit-test (&lt;a title="Unit testing" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;version=2"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;version=2"&gt;RelayCommand&lt;/a&gt;&lt;span&gt;&amp;nbsp;- provides for small, simple command declarations. The execution logic, and optionally can-execute logic.&lt;/span&gt;
&lt;/li&gt;&lt;li&gt;Async support with transparent marshaling to the UI thread (&lt;a title="Work with asynchronous" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Helpers for work with Task. &lt;/li&gt;&lt;li&gt;Very easy work with dialogs&amp;nbsp;(&lt;a title="Work with dialog window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;version=3"&gt;example&lt;/a&gt;) and child windows&amp;nbsp;(&lt;a title="Work with child window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;You can use any event from the view in the view model, and it is very easy to test (&lt;a title="Example" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;version=2"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Support data annotation validation attributes, for SL add&amp;nbsp;MetadataTypeAttribute for use in partial class (&lt;a title="DataAnnotations" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;version=3"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Closeable ViewModels (when you are using TabControl). &lt;/li&gt;&lt;li&gt;Simple page navigation for SL app (&lt;a title="Navigation" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;version=3"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Supported platforms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WPF &lt;/li&gt;&lt;li&gt;Silverlight 3-5 &lt;/li&gt;&lt;li&gt;Windows phone 7-7.1 &amp;nbsp; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Plans:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add support for the popular Ioc containers.&amp;nbsp; &lt;/li&gt;&lt;li&gt;Increase productivity and capacity. &lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Tue, 27 Mar 2012 14:38:07 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120327023807P</guid></item><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Mon, 26 Mar 2012 17:33:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120326053308P</guid></item><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Mon, 26 Mar 2012 17:32:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120326053255P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://mugenmvvmtoolkit.codeplex.com/documentation?version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;version=8"&gt;Concept&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20wpf&amp;version=1"&gt;Getting started(WPF)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;version=1"&gt;Getting started(Silverlight)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;IsNewlyCreatedPage=true"&gt;Design mode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink29" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;version=1"&gt;Working with asynchronous&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink22" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;version=3"&gt;Work with dialog window&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink25" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window&amp;version=1"&gt;Work with child window&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink24" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;version=1"&gt;Work with Relay command&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink12" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;version=2"&gt;Use view property, event, etc.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink11" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;version=1"&gt;Unit testing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink8" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;version=1"&gt;Data annotation validation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="PageTitleLink4" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;version=1"&gt;Silverlight navigation&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;For more info see example.&lt;/p&gt;
&lt;p&gt;At the moment only supports a Ioc container &lt;a href="http://mugeninjection.codeplex.com/"&gt;
Mugen Injection&lt;/a&gt;, in the near future I will add support for all popular containers.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Mon, 26 Mar 2012 17:22:05 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120326052205P</guid></item><item><title>Updated Wiki: Home</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;&lt;strong&gt;Project Description&lt;/strong&gt;&lt;br&gt;
Mugen MVVM Toolkit makes it easier to develop Silverlight, WPF and WP7 applications using the Model-View-ViewModel design pattern. It is very easy to use. It combines the pattern of DI (dependency injection) and MVVM (Model-View-ViewModel).&amp;nbsp;See documentation
 and example for more detail.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Very easy to use (example &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20wpf&amp;version=1"&gt;
wpf&lt;/a&gt;, &lt;a title="Getting started" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Getting%20started%20Silverlight&amp;version=1"&gt;
silverlight&lt;/a&gt;). &amp;nbsp; &lt;/li&gt;&lt;li&gt;Each ViewModel contains independent of other Ioc container (&lt;a title="Concept" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=The%20concept%20of%20the%20Toolkit.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Support for Silverlight, WPF and Windows Phone 7. &lt;/li&gt;&lt;li&gt;Support &lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design%20mode&amp;IsNewlyCreatedPage=true"&gt;
work in design mode&lt;/a&gt;, you can use fake bindings for your Ioc container. &lt;/li&gt;&lt;li&gt;Supports unit-test (&lt;a title="Unit testing" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Unit%20testing&amp;version=2"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;&lt;a href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20Relay%20command&amp;version=2"&gt;RelayCommand&lt;/a&gt;&lt;span&gt;&amp;nbsp;- provides for small, simple command declarations. The execution logic, and optionally can-execute logic.&lt;/span&gt;
&lt;/li&gt;&lt;li&gt;Async support with transparent marshaling to the UI thread (&lt;a title="Work with asynchronous" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Working%20with%20asynchronous.&amp;version=1"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;Helpers for work with Task. &lt;/li&gt;&lt;li&gt;Very easy work with dialogs&amp;nbsp;(&lt;a title="Work with dialog window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20dialog%20window&amp;version=3"&gt;example&lt;/a&gt;) and child windows&amp;nbsp;(&lt;a title="Work with child window" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Work%20with%20child%20window"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;li&gt;You can use any event from the view in the view model, and it is very easy to test (&lt;a title="Example" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Use%20view%20property%2c%20event%2c%20etc.&amp;version=2"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Support data annotation validation attributes, for SL add&amp;nbsp;MetadataTypeAttribute for use in partial class (&lt;a title="DataAnnotations" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Data%20annotation%20validation&amp;version=3"&gt;example&lt;/a&gt;).&amp;nbsp;
&lt;/li&gt;&lt;li&gt;Closeable ViewModels (when you are using TabControl). &lt;/li&gt;&lt;li&gt;Simple page navigation for SL app (&lt;a title="Navigation" href="http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Silverlight%20navigation&amp;version=3"&gt;example&lt;/a&gt;).
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Supported platforms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WPF &lt;/li&gt;&lt;li&gt;Silverlight 3-5 &lt;/li&gt;&lt;li&gt;Windwos phone 7-7.1&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Plans:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add support for the popular Ioc containers.&amp;nbsp; &lt;/li&gt;&lt;li&gt;Increase productivity and capacity. &lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Mon, 26 Mar 2012 17:21:38 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120326052138P</guid></item><item><title>Updated Wiki: Design mode</title><link>http://mugenmvvmtoolkit.codeplex.com/wikipage?title=Design mode&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;To date, the only supported NET3.5-NET4, SL4-SL5 assembly.&lt;/p&gt;
&lt;p&gt;For work in design mode, you need add class:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;    [MvvmApplication(1)]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; DesignApplication : MvvmDesignApplication
    {

        &lt;span style="color:blue"&gt;#region&lt;/span&gt; Overrides of MvvmDesignApplication

        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; Creating a main Ioc adapter for design mode.&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
        &lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;returns/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IocAdapterBase CreateDesignerContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; mugenInjector = &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenInjector();
            mugenInjector.Bind&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt;().ToConstant(&lt;span style="color:#a31515"&gt;&amp;quot;Hello design Ioc container&amp;quot;&lt;/span&gt;);
            mugenInjector.Bind&amp;lt;IRepository&amp;gt;().ToConstant(&lt;span style="color:blue"&gt;new&lt;/span&gt; FakeRepository());
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MugenIocAdapter(mugenInjector);
        }

        &lt;span style="color:blue"&gt;#endregion&lt;/span&gt;
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The number in the attribute indicates the priority for loading class.&amp;nbsp;If you have two classes that will be selected with the highest priority.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the view must be added:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;And write the full name of the class view. If for one view exist more than once view model use this syntax
&lt;strong&gt;FULLVIEWCLASSNAME;FULLVIEWMODELCLASSNAME&lt;/strong&gt;, example:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre style="color:black"&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Window&lt;/span&gt; &lt;span style="color:red"&gt;x:Class&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:x&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
        &lt;span style="color:red"&gt;xmlns:Behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;clr-namespace:MugenMvvmToolkit.Behaviors;assembly=MugenMvvmToolkit&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MainWindow&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Height&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;350&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Width&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;525&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
        &lt;strong&gt;&lt;span style="color:red"&gt;Behaviors:DesingViewBehavior.ViewName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;MugenMvvmDesignModeWpf.MainWindow;MugenMvvmDesignModeWpf.MainWindowViewModel&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;After this datacontext is equal to a given view model, and Ioc container will contain the value specified for the design mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Each view model supports property&amp;nbsp;&lt;strong&gt;&lt;span style="background-color:white"&gt;IsDesignMode&lt;/span&gt;&lt;/strong&gt;&lt;span style="background-color:white"&gt;, it indicate whether the control is in design mode (running under Blend or Visual Studio).
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:white"&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; UseProperty
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            {
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (IsDesignMode)
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property design mode&amp;quot;&lt;/span&gt;;
                &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:#a31515"&gt;&amp;quot;Property not design mode&amp;quot;&lt;/span&gt;;
            }
        }&lt;/pre&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>VVS0205</author><pubDate>Mon, 26 Mar 2012 17:16:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Design mode 20120326051626P</guid></item></channel></rss>