<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>caliburn Discussions Rss Feed</title><link>http://www.codeplex.com/caliburn/Thread/List.aspx</link><description>caliburn Discussions Rss Description</description><item><title>New Post: What happend to to the Caliburn.ModelFramework namespace?</title><link>http://caliburn.codeplex.com/discussions/406076</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;For several years we're using Caliburn 1.0 in a very large desktop application.&lt;/p&gt;
&lt;p&gt;It's seems that ViewModels these days use PropertyChangeBase, but that just for lazy people. Seriously all it's does it raising the PropertyChanged event.&lt;/p&gt;
&lt;p&gt;ViewModels don't longer seem to have:&lt;/p&gt;
&lt;p&gt;- Validation&lt;br&gt;
- Undo support (BeginEdit, EndEdit, CancelEdit, IsDirty, etc)&lt;br&gt;
- Visitor pattern (Accept)&lt;br&gt;
- MetaData&lt;/p&gt;
&lt;p&gt;Any advise how to upgrade to Caliburn 2.0 or Caliburn.Micro without loosing these features. We've build a ton of code on top ModelBase class. It may sound weird, but I believe we gain more if we stay with the Caliburn 1.x framework.&lt;/p&gt;
&lt;/div&gt;</description><author>swordfish</author><pubDate>Sat, 08 Dec 2012 18:16:31 GMT</pubDate><guid isPermaLink="false">New Post: What happend to to the Caliburn.ModelFramework namespace? 20121208061631P</guid></item><item><title>New Post: Sending Message with paramter</title><link>http://caliburn.codeplex.com/discussions/389563</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi guys,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;here is the Code I have question about:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&amp;lt;UserControl.Resources&amp;gt;
        &amp;lt;HierarchicalDataTemplate x:Key=&lt;span style="color:#a31515"&gt;&amp;quot;StrukturTemplate&amp;quot;&lt;/span&gt;
                                  ItemsSource=&lt;span style="color:#a31515"&gt;&amp;quot;{Binding SubTree}&amp;quot;&lt;/span&gt;&amp;gt;
            &amp;lt;TextBlock Text=&lt;span style="color:#a31515"&gt;&amp;quot;{Binding StrukturName}&amp;quot;&lt;/span&gt; /&amp;gt;
        &amp;lt;/HierarchicalDataTemplate&amp;gt;
        &amp;lt;HierarchicalDataTemplate x:Key=&lt;span style="color:#a31515"&gt;&amp;quot;StrukturBaumTemplate&amp;quot;&lt;/span&gt;
                ItemTemplate=&lt;span style="color:#a31515"&gt;&amp;quot;{StaticResource StrukturTemplate}&amp;quot;&lt;/span&gt; ItemsSource=&lt;span style="color:#a31515"&gt;&amp;quot;{Binding SubTree}&amp;quot;&lt;/span&gt;&amp;gt;
            &amp;lt;TextBlock Text=&lt;span style="color:#a31515"&gt;&amp;quot;{Binding StrukturName}&amp;quot;&lt;/span&gt; /&amp;gt;
        &amp;lt;/HierarchicalDataTemplate&amp;gt;
    &amp;lt;/UserControl.Resources&amp;gt;
    
    &amp;lt;Grid&amp;gt;
        &amp;lt;telerik:RadTreeView ItemsSource=&lt;span style="color:#a31515"&gt;&amp;quot;{Binding StrukturExplorer, Mode=TwoWay}&amp;quot;&lt;/span&gt; IsExpandOnSingleClickEnabled=&lt;span style="color:#a31515"&gt;&amp;quot;True&amp;quot;&lt;/span&gt; ItemTemplate=&lt;span style="color:#a31515"&gt;&amp;quot;{StaticResource StrukturBaumTemplate}&amp;quot;&lt;/span&gt; 
                             cal:Message.Attach=&lt;span style="color:#a31515"&gt;&amp;quot;[Event Selected] = [Action ExecuteSelect(StrukturId)]&amp;quot;&lt;/span&gt;
                             Height=&lt;span style="color:#a31515"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt; HorizontalAlignment=&lt;span style="color:#a31515"&gt;&amp;quot;Left&amp;quot;&lt;/span&gt; Name=&lt;span style="color:#a31515"&gt;&amp;quot;StrukturBaum&amp;quot;&lt;/span&gt; VerticalAlignment=&lt;span style="color:#a31515"&gt;&amp;quot;Top&amp;quot;&lt;/span&gt; Width=&lt;span style="color:#a31515"&gt;&amp;quot;300&amp;quot;&lt;/span&gt; SelectionMode=&lt;span style="color:#a31515"&gt;&amp;quot;Single&amp;quot;&lt;/span&gt; /&amp;gt;
    &amp;lt;/Grid&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
I want to send the Id of the selectedItem to the viewModel. How can I do this? StrukturId is a property in my VM.
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>_Ivo_</author><pubDate>Mon, 30 Jul 2012 13:49:49 GMT</pubDate><guid isPermaLink="false">New Post: Sending Message with paramter 20120730014949P</guid></item><item><title>New Post: Spring and dependency injection</title><link>http://caliburn.codeplex.com/discussions/379842</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm trying to develop a WPF application with Caliburn,&amp;nbsp;Spring.NET NHibernate. I have it separated in several assemblies, depending on the business area (it means that I can have a folder Views and ViewModels in more than one). My bootstrapper is very
 simple, and as you can see, I select the assemblies that have viewmodels and views:&lt;/p&gt;
&lt;p&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; SpringBootsrapper : Bootstrapper&amp;lt;MainViewModel&amp;gt; 
    {
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IServiceLocator CreateContainer()
        {
            XmlConfigurator.Configure();

            &lt;span style="color:blue"&gt;var&lt;/span&gt; cxt = ContextRegistry.GetContext();
            
            GenericApplicationContext context = &lt;span style="color:blue"&gt;new&lt;/span&gt; GenericApplicationContext(cxt);
            
            &lt;span style="color:blue"&gt;var&lt;/span&gt; container = &lt;span style="color:blue"&gt;new&lt;/span&gt; SpringAdapter(context);

            &lt;span style="color:blue"&gt;return&lt;/span&gt; container;
        }

        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IEnumerable&amp;lt;Assembly&amp;gt; SelectAssemblies()
        {
            IEnumerable&amp;lt;Assembly&amp;gt; assemblies = &lt;span style="color:blue"&gt;base&lt;/span&gt;.SelectAssemblies();
            IList&amp;lt;Assembly&amp;gt; ass = &lt;span style="color:blue"&gt;new&lt;/span&gt; List&amp;lt;Assembly&amp;gt;(assemblies);
            ass.Add(Assembly.GetAssembly(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(LoginViewModel)));
            &lt;span style="color:blue"&gt;return&lt;/span&gt; ass;
        }
}&lt;/pre&gt;
&lt;p&gt;My MainViewModel is like:&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[Singleton(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(MainViewModel))]
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; MainViewModel : Screen
    {
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;readonly&lt;/span&gt; IWindowManager windowManager;

        [ImportingConstructor]
        &lt;span style="color:blue"&gt;public&lt;/span&gt; MainViewModel(IWindowManager windowManager, IServiceLocator locator)
        {
            &lt;span style="color:blue"&gt;this&lt;/span&gt;.windowManager = windowManager;
            &lt;span style="color:blue"&gt;string&lt;/span&gt;[] pepe = ((SpringAdapter)locator).Context.GetObjectDefinitionNames();
            IEnumerable &amp;lt; LoginViewModel&amp;gt; logins = ((SpringAdapter)locator).GetAllInstances&amp;lt;LoginViewModel&amp;gt;();
            LoginViewModel loginWindow = IoC.Get&amp;lt;LoginViewModel&amp;gt;();
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (loginWindow == &lt;span style="color:blue"&gt;null&lt;/span&gt;)
            {
                MessageBox.Show(&lt;span style="color:#a31515"&gt;&amp;quot;Not exists&amp;quot;&lt;/span&gt;);
            }
            &lt;span style="color:blue"&gt;else&lt;/span&gt;
            {
                windowManager.ShowDialog(loginWindow);
            }
        }
    }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;When I start the application it comes to this constructor, but &lt;em&gt;IoC&lt;/em&gt; is never finding
&lt;em&gt;LoginViewModel&lt;/em&gt;, but here the &lt;em&gt;IWindowManager &lt;/em&gt;is injected.&lt;/p&gt;
&lt;p&gt;What I am doing wrong?&lt;/p&gt;
&lt;p&gt;The code for LoginViewModel is in another assembly:&lt;/p&gt;
&lt;span style="background-color:white"&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[Export(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(LoginViewModel))]
&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; LoginViewModel : Screen
{
    [Import]
    &lt;span style="color:blue"&gt;private&lt;/span&gt; IUsersService service;

    .....

}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Thanx!&lt;/p&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description><author>Elsif</author><pubDate>Fri, 20 Jul 2012 17:55:25 GMT</pubDate><guid isPermaLink="false">New Post: Spring and dependency injection 20120720055525P</guid></item><item><title>New Post: Binding to ActiveItem in a View</title><link>http://caliburn.codeplex.com/discussions/356709</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm tring to use Telerik's breadcrumb and I wish to bind the CurrentItem to the ActiveItem of the Conductor... Ive trived to do CurrentItem=&amp;quot;{Binding ActiveItem} but it doesn't work...what should I do?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;/div&gt;</description><author>advapi</author><pubDate>Tue, 22 May 2012 15:20:03 GMT</pubDate><guid isPermaLink="false">New Post: Binding to ActiveItem in a View 20120522032003P</guid></item><item><title>New Post: Click a image and refresh the list.</title><link>http://caliburn.codeplex.com/discussions/352797</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have a listbox, and its template has a image and a textblock control, &amp;nbsp;I want to bind a click event to the image control to implement when user click the image, then get data from the database , and refresh the listbox, &amp;nbsp;how to do it?&lt;/p&gt;
&lt;/div&gt;</description><author>yao1987</author><pubDate>Thu, 19 Apr 2012 08:18:27 GMT</pubDate><guid isPermaLink="false">New Post: Click a image and refresh the list. 20120419081827A</guid></item><item><title>New Post: How to close dialog window from viewmodel?</title><link>http://caliburn.codeplex.com/discussions/351800</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have ViewModel1 and View1&amp;nbsp;&lt;span&gt;associated&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;with it. I start dialog window from ViewModel2 (some another viewmodel) using IWindowManager object. The code from ViewModel2 class:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;windowManager.ShowDialog(&lt;span style="color:blue"&gt;new&lt;/span&gt; ViewModel());&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;So, I have Dialog Window with View1 user control.&lt;/p&gt;
&lt;p&gt;My answer is next - I can close that dialog window using red close button, but how to close it using my specific button (contained in View1 user control), something like &amp;quot;Cancel&amp;quot; button with close command (Command={Binding CancelCommand}), CancelCommand&amp;nbsp;of
 course is contained in ViewModel1 class.&lt;/p&gt;
&lt;/div&gt;</description><author>arromanvk</author><pubDate>Tue, 10 Apr 2012 14:20:40 GMT</pubDate><guid isPermaLink="false">New Post: How to close dialog window from viewmodel? 20120410022040P</guid></item><item><title>New Post: Castle Windsor Interceptor on Caliburn View Model</title><link>http://caliburn.codeplex.com/discussions/330726</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I would like create own aspects with Castle Windsor Interceptor and apply on View Model classes.&lt;/p&gt;
&lt;p&gt;As I said I use Caliburn MVVM framework and on DI I use Caste Windsor. Everything works good.&lt;/p&gt;
&lt;p&gt;For example I created simple loggging interceptors, here is:&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; LoggingInterceptor : IInterceptor
{
    &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; Intercept(IInvocation invocation)
    {
        Console.Write(&lt;span style="color: #a31515;"&gt;"Log: Method Called: "&lt;/span&gt; + invocation.Method.Name);
        invocation.Proceed();
    }
}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;This is simple View Model class - it is "tab item" :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&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;class&lt;/span&gt; TabViewModel : Screen, 
    ITabViewModel
{

}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;When I configure IoC with Fluent API I would like apply this interceptor on View Model class.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;   container.Register(Component
                    .For&amp;lt;LoggingInterceptor&amp;gt;()
                    .LifeStyle
                        .Singleton
                    .Named(&lt;span style="color: #a31515;"&gt;"LogAspect"&lt;/span&gt;));

        container.Register(Component
                    .For&amp;lt;ITabViewModel&amp;gt;()
                    .ImplementedBy&amp;lt;TabViewModel&amp;gt;()
                    .LifeStyle
                        .Transient
                    .Named(&lt;span style="color: #a31515;"&gt;"TabViewModel"&lt;/span&gt;)
                    .Interceptors&amp;lt;LoggingInterceptor&amp;gt;());
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I tried pick view model from IoC:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; tabItem = IoC.Get&amp;lt;ITabViewModel&amp;gt;();
ActivateItem(tabItem);&lt;/pre&gt;
&lt;pre&gt;&lt;span style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style="background-color: white;"&gt;I got this message:&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;A default view was not found for Castle.Proxies.ITabViewModelProxy.&amp;nbsp;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;Views searched for include: Castle.Proxies.IITabViewModelProxy&amp;nbsp;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;Castle.Proxies.ITabViewModelProxys.IDefaulCastle.Proxies.ITabViewModelProxys.Default&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;Also I tried this way for interceptor applicaion.&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;div style="color: black; background-color: white;"&gt;&lt;pre&gt;[Interceptor(&lt;span style="color: blue;"&gt;typeof&lt;/span&gt;(LoggingInterceptor))]
&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; TabViewModel : Screen, 
    ITabViewModel
{

}
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/pre&gt;
&lt;pre&gt;Ok, I know that Caliburn framework match View and View Model by naming convention.&lt;br /&gt;When I try pick implementation of ITabViewModel I get ITabViewModelProxy and for ITabViewModelProxy&amp;nbsp;&lt;br /&gt;I didn&amp;rsquo;t register any View.&lt;br /&gt;Target of proxy is TabViewModel but I think problem is with naming mismatch.&lt;br /&gt;I dont want rename ViewModel because I would like configure proxies from XML files.&lt;br /&gt;&lt;br /&gt;So what is correct way?&lt;br /&gt;&lt;br /&gt;Thank you for help

&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>Janc1</author><pubDate>Mon, 20 Feb 2012 09:41:33 GMT</pubDate><guid isPermaLink="false">New Post: Castle Windsor Interceptor on Caliburn View Model 20120220094133A</guid></item><item><title>New Post: Silverlight 5</title><link>http://caliburn.codeplex.com/discussions/323987</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Has anyone out there attempted to update Caliburn to support SL5?&amp;nbsp; What all was involved in making the change? &amp;nbsp;Moving to Micro isn't feasible for us and I'm hoping someone could point me down the right path to updating the solution.&lt;/p&gt;
&lt;/div&gt;</description><author>mitchell_bu</author><pubDate>Fri, 17 Feb 2012 20:31:00 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight 5 20120217083100P</guid></item><item><title>New Post: Create custom advices with IPreProcessor, IPostProcessor, IRescue</title><link>http://caliburn.codeplex.com/discussions/309077</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi all,&lt;br /&gt;&lt;br /&gt;today I little played with filters and I would like create own aspects [advices]. Something like Aspect library in Spring.NET&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I created aspects for log input method parameters and output value.&lt;/p&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;class&lt;/span&gt; LogInputParamsAttribute : 
        Attribute,
        IPreProcessor
    {
        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;int&lt;/span&gt; Priority
        {
            &lt;span style="color: blue;"&gt;get&lt;/span&gt; { &lt;span style="color: blue;"&gt;return&lt;/span&gt; 1; }
        }

        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;bool&lt;/span&gt; Execute(IRoutedMessage message, IInteractionNode handlingNode, 
            &lt;span style="color: blue;"&gt;object&lt;/span&gt;[] parameters)
        {
            &lt;span style="color: blue;"&gt;var&lt;/span&gt; sb = &lt;span style="color: blue;"&gt;new&lt;/span&gt; StringBuilder();

            sb.AppendFormat(&lt;span style="color: #a31515;"&gt;"Action: {0}\n"&lt;/span&gt;, message);

            &lt;span style="color: blue;"&gt;foreach&lt;/span&gt; (&lt;span style="color: blue;"&gt;var&lt;/span&gt; parameter &lt;span style="color: blue;"&gt;in&lt;/span&gt; parameters)
            {
                sb.AppendFormat(&lt;span style="color: #a31515;"&gt;"{0}\n"&lt;/span&gt;,parameter);
            }

            &lt;span style="color: green;"&gt;//this is temporary ;)&lt;/span&gt;
            MessageBox.Show(sb.ToString());

            &lt;span style="color: blue;"&gt;return&lt;/span&gt; &lt;span style="color: blue;"&gt;true&lt;/span&gt;;
        }

        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;bool&lt;/span&gt; AffectsTriggers
        {
            &lt;span style="color: blue;"&gt;get&lt;/span&gt; { &lt;span style="color: blue;"&gt;return&lt;/span&gt; &lt;span style="color: blue;"&gt;true&lt;/span&gt;; }
        }
    }
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;and&lt;/p&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;class&lt;/span&gt; LogOutputValueAttribute : 
        Attribute, 
        IPostProcessor
    {
        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;int&lt;/span&gt; Priority
        {
            &lt;span style="color: blue;"&gt;get&lt;/span&gt; { &lt;span style="color: blue;"&gt;return&lt;/span&gt; 1; }
        }

        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; Execute(IRoutedMessage message, IInteractionNode handlingNode, MessageProcessingOutcome outcome)
        {
            &lt;span style="color: blue;"&gt;var&lt;/span&gt; sb = &lt;span style="color: blue;"&gt;new&lt;/span&gt; StringBuilder();

            sb.AppendFormat(&lt;span style="color: #a31515;"&gt;"Action: {0}\n"&lt;/span&gt;, message);

            sb.AppendFormat(&lt;span style="color: #a31515;"&gt;"Output: {0}\n"&lt;/span&gt;, outcome.Result);

            &lt;span style="color: green;"&gt;//this is temporary ;)&lt;/span&gt;
            MessageBox.Show(sb.ToString());
        }
    }

&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;When my WPF app start up it call automatically method Execute in LogInputParamsAttribute but I don&amp;rsquo;t know why. &lt;br /&gt;Because I used LogInputParamsAttribute on method LogParamsTest and this method is binded on button event Click.&lt;br /&gt;&lt;br /&gt;Piece of code from VM:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;        [LogInputParams]
        [LogOutputValue]
        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; LogParamsTest(&lt;span style="color: blue;"&gt;string&lt;/span&gt; username, &lt;span style="color: blue;"&gt;string&lt;/span&gt; password)
        {
            &lt;span style="color: blue;"&gt;return&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt;.Format(&lt;span style="color: #a31515;"&gt;"Hello {0}"&lt;/span&gt;, username);
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;View:&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;Button&lt;/span&gt; &lt;span style="color: red;"&gt;Style&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: black;"&gt;"&lt;/span&gt;&lt;span style="color: blue;"&gt;{StaticResource styleButton}&lt;/span&gt;&lt;span style="color: black;"&gt;"&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;"&lt;/span&gt;&lt;span style="color: blue;"&gt;LogParamsTest&lt;/span&gt;&lt;span style="color: black;"&gt;"&lt;/span&gt;
                    &lt;span style="color: red;"&gt;cal:Message.Attach&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: black;"&gt;"&lt;/span&gt;&lt;span style="color: blue;"&gt;[Event Click]=[Action LogParamsTest(UserName.Text,Password.Text)]&lt;/span&gt;&lt;span style="color: black;"&gt;"&lt;/span&gt;
                    &lt;span style="color: red;"&gt;Grid.Row&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: black;"&gt;"&lt;/span&gt;&lt;span style="color: blue;"&gt;3&lt;/span&gt;&lt;span style="color: black;"&gt;"&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;And my second question is: It exist way how can I get parameters name in method Execute (LogInputParamsAttribute). For example in this case object[0]=&amp;gt;username, object[1]=&amp;gt;password.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for all answers...&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;div style="color: black; background-color: white;"&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description><author>Janc1</author><pubDate>Sun, 12 Feb 2012 16:10:03 GMT</pubDate><guid isPermaLink="false">New Post: Create custom advices with IPreProcessor, IPostProcessor, IRescue 20120212041003P</guid></item><item><title>New Post: ExportFactoryProvider with version 1.1</title><link>http://caliburn.codeplex.com/discussions/289030</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i'm using Caliburn 1.1 and Glenn Block's ExportFactory&amp;lt;T&amp;gt; addition to MEF. But when the App Class is being created i get an&amp;nbsp;{&amp;quot;Object reference not set to an instance of an object.&amp;quot;} Null reference expection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; IServiceLocator CreateContainer()
        {
            &lt;span style="color:blue"&gt;var&lt;/span&gt; executingAssemblyFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            &lt;span style="color:blue"&gt;var&lt;/span&gt; pluginFolder = Path.Combine(executingAssemblyFolder, &lt;span style="color:#a31515"&gt;&amp;quot;Plugins&amp;quot;&lt;/span&gt;);

            &lt;span style="color:blue"&gt;var&lt;/span&gt; catalog = &lt;span style="color:blue"&gt;new&lt;/span&gt; AggregateCatalog();
            catalog.Catalogs.Add(&lt;span style="color:blue"&gt;new&lt;/span&gt; AssemblyCatalog(Assembly.GetExecutingAssembly()));
            catalog.Catalogs.Add(&lt;span style="color:blue"&gt;new&lt;/span&gt; TypeCatalog(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(MessageBoxService)));
            catalog.Catalogs.Add(&lt;span style="color:blue"&gt;new&lt;/span&gt; TypeCatalog(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(QuestionViewModel)));

			&lt;span style="color:blue"&gt;var&lt;/span&gt; directoryCatalog = &lt;span style="color:blue"&gt;new&lt;/span&gt; DirectoryCatalog(pluginFolder);
            catalog.Catalogs.Add(directoryCatalog);
            &lt;span style="color:blue"&gt;var&lt;/span&gt; efp = &lt;span style="color:blue"&gt;new&lt;/span&gt; ExportFactoryProvider();
            container = &lt;span style="color:blue"&gt;new&lt;/span&gt; CompositionContainer(catalog, efp);
            efp.SourceProvider = container;
            
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; MEFAdapter(container);
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If i remove the ExportFactoryProvider class form the&amp;nbsp;CompositionContainer i don't get an error, obviously my exportfactory cobject are empty.&lt;/p&gt;
&lt;p&gt;Anyone seen this problem before?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;theHaggis&lt;/p&gt;
&lt;/div&gt;</description><author>theHaggis</author><pubDate>Wed, 01 Feb 2012 15:58:22 GMT</pubDate><guid isPermaLink="false">New Post: ExportFactoryProvider with version 1.1 20120201035822P</guid></item><item><title>New Post: Message Routing Problem</title><link>http://caliburn.codeplex.com/discussions/272755</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Sorry that I missed this question! If I understand the issue, I think this is related to a bug deep inside Caliburn which is extremely difficult (if not impossible) to fix. It's related to the change of Action.Targets higher up in the Xaml tree than the source which change. The action still routes to the old target in some cases. I do believe that the issue is not present in Caliburn.Micro. Is there any way I can convince you to migrate to Caliburn.Micro?&lt;/p&gt;&lt;/div&gt;</description><author>EisenbergEffect</author><pubDate>Fri, 30 Dec 2011 01:28:53 GMT</pubDate><guid isPermaLink="false">New Post: Message Routing Problem 20111230012853A</guid></item><item><title>New Post: MVVM Ria Services databinding issue</title><link>http://caliburn.codeplex.com/discussions/270640</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You should post this in the Caliburn.Micro forums:&amp;nbsp;&lt;a href="http://caliburnmicro.codeplex.com/discussions"&gt;http://caliburnmicro.codeplex.com/discussions&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>EisenbergEffect</author><pubDate>Fri, 30 Dec 2011 01:06:15 GMT</pubDate><guid isPermaLink="false">New Post: MVVM Ria Services databinding issue 20111230010615A</guid></item><item><title>New Post: Binding user controls</title><link>http://caliburn.codeplex.com/discussions/280122</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello. If you are using Caliburn.Micro, please post in that forum &amp;nbsp;&lt;a href="http://caliburnmicro.codeplex.com/discussions"&gt;http://caliburnmicro.codeplex.com/discussions&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>EisenbergEffect</author><pubDate>Fri, 30 Dec 2011 01:05:36 GMT</pubDate><guid isPermaLink="false">New Post: Binding user controls 20111230010536A</guid></item><item><title>New Post: CustomViewModelBinder</title><link>http://caliburn.codeplex.com/discussions/282919</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i would like to do the following:&lt;/p&gt;
&lt;p&gt;I've a custom t4 template for a ef edmx which creates for each property a 'Is &amp;#43; &amp;quot;PropertyName&amp;quot; &amp;#43; Readable' &amp;nbsp;and a 'Is &amp;#43; &amp;quot;PropertyName&amp;quot; &amp;#43; Writeable'&lt;/p&gt;
&lt;p&gt;So i thought it would be cool to have a ViewModelBinder which binds the IsReadonlyProperty and the VisilityProperty automatical in the ViewModelBinder.&lt;br&gt;
For this i have to get all bound FrameworkElements - and thats the problem - is there any way to get all Framework Elements which are data bound? Do i have to use the logicaltreehelper to get all controls and check every property for a binding with getbindingexpression
 or is there a better way?&lt;/p&gt;
&lt;p&gt;ViewModel Example:&lt;/p&gt;
&lt;p&gt;CustomerViewModel&lt;br&gt;
--&amp;gt;Customer&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt;Name&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt;IsNameWriteable&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt;IsNameReadable&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt;Address&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;City&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;IsCityWriteable&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; ....&lt;br&gt;
--&amp;gt;Save()&lt;/p&gt;
&lt;p&gt;thx vts&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>vts</author><pubDate>Wed, 14 Dec 2011 10:38:24 GMT</pubDate><guid isPermaLink="false">New Post: CustomViewModelBinder 20111214103824A</guid></item><item><title>New Post: Binding user controls</title><link>http://caliburn.codeplex.com/discussions/280122</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm new to CM, so this question is a bit basic. &amp;nbsp; I have a user control, &amp;quot;FolderSelectionControl&amp;quot; with a textbox and a button that opens a WinForm folder diaogue. The folder path is shown in the textbox.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[ContentProperty(&lt;span style="color:#a31515"&gt;&amp;quot;DirectoryPath&amp;quot;&lt;/span&gt;)]
    &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; FolderSelectionControl : System.Windows.Controls.UserControl
    {
        &lt;span style="color:blue"&gt;public&lt;/span&gt; FolderSelectionControl()
        {
            InitializeComponent();
            pathTextbox.TextChanged &amp;#43;=&lt;span style="color:blue"&gt;new&lt;/span&gt; TextChangedEventHandler(pathTextbox_TextChanged);
        }

        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;readonly&lt;/span&gt; DependencyProperty DirectoryPathProperty = DependencyProperty.Register(
           &lt;span style="color:#a31515"&gt;&amp;quot;DirectoryPath&amp;quot;&lt;/span&gt;,
           &lt;span style="color:blue"&gt;typeof&lt;/span&gt;(&lt;span style="color:blue"&gt;string&lt;/span&gt;),
           &lt;span style="color:blue"&gt;typeof&lt;/span&gt;(FolderSelectionControl));

        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; pathTextbox_TextChanged(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, TextChangedEventArgs e)
        {
            &lt;span style="color:blue"&gt;this&lt;/span&gt;.DirectoryPath = pathTextbox.Text;
            e.Handled = &lt;span style="color:blue"&gt;true&lt;/span&gt;;
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (&lt;span style="color:blue"&gt;null&lt;/span&gt; != DirectoryPathChanged)
                DirectoryPathChanged(&lt;span style="color:blue"&gt;this&lt;/span&gt;, EventArgs.Empty);
            
        }

        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;event&lt;/span&gt; EventHandler&amp;lt;EventArgs&amp;gt; DirectoryPathChanged;

        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; DirectoryPath
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt; { &lt;span style="color:blue"&gt;return&lt;/span&gt; (&lt;span style="color:blue"&gt;string&lt;/span&gt;)GetValue(DirectoryPathProperty); }
            &lt;span style="color:blue"&gt;set&lt;/span&gt; { SetValue(DirectoryPathProperty, value); }
        }


        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Browse_Click(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)
        {
            FolderBrowserDialog folderDialogue = &lt;span style="color:blue"&gt;new&lt;/span&gt; FolderBrowserDialog();
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (!&lt;span style="color:blue"&gt;string&lt;/span&gt;.IsNullOrWhiteSpace(pathTextbox.Text))
            {
                &lt;span style="color:blue"&gt;string&lt;/span&gt; directory = pathTextbox.Text;
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (Directory.Exists(directory))
                {
                    folderDialogue.SelectedPath = directory;
                }
            }
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (DialogResult.OK != folderDialogue.ShowDialog())
                &lt;span style="color:blue"&gt;return&lt;/span&gt;;
            pathTextbox.Text = folderDialogue.SelectedPath;
        }

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I place this control in a View, and I created a ViewModel.&amp;nbsp;&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;my&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;FolderSelectionControl&lt;/span&gt; &lt;span style="color:red"&gt;cal:Bind.Model&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}&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;HorizontalAlignment&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;Stretch&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;Margin&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;0,0,0,0&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;x:Name&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;DirectoryPicker&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;VerticalAlignment&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;Top&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;/pre&gt;
&lt;/div&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;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; InputFolderViewModel : PropertyChangedBase
    {
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; _directoryPicker;
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; DirectoryPicker
        {
            &lt;span style="color:blue"&gt;get&lt;/span&gt;
            { &lt;span style="color:blue"&gt;return&lt;/span&gt; _directoryPicker; }
            &lt;span style="color:blue"&gt;set&lt;/span&gt;
            { 
                _directoryPicker = value;
                NotifyOfPropertyChange(() =&amp;gt; DirectoryPicker);
            }
        }
    }

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue is that CM doesn't bind to the control. &amp;nbsp; What is missing?&lt;/p&gt;
&lt;/div&gt;</description><author>aqtLNDN</author><pubDate>Sun, 20 Nov 2011 00:12:35 GMT</pubDate><guid isPermaLink="false">New Post: Binding user controls 20111120121235A</guid></item><item><title>New Post: Yet another naming convention question</title><link>http://caliburn.codeplex.com/discussions/275119</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You should post this in the Caliburn.Micro forums.&lt;/p&gt;&lt;/div&gt;</description><author>EisenbergEffect</author><pubDate>Sat, 08 Oct 2011 05:01:39 GMT</pubDate><guid isPermaLink="false">New Post: Yet another naming convention question 20111008050139A</guid></item><item><title>New Post: Yet another naming convention question</title><link>http://caliburn.codeplex.com/discussions/275119</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have a View named:&lt;/p&gt;
&lt;p&gt;Customer.Company.SilverlightApplication.Views.Administration.Application.ApplicationAdministrationView&lt;/p&gt;
&lt;p&gt;and a viewmodel named:&lt;/p&gt;
&lt;p&gt;Customer.Company.SilverlightApplication.ViewModels.Administration.Application.ApplicationAdministrationViewModel&lt;/p&gt;
&lt;p&gt;both in correspinging folders in my solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When running the application the view is not found for the vm. Why?!&lt;/p&gt;
&lt;p&gt;When I &amp;nbsp;use the ViewLocator.NameTransformer on the full VM classname i get the resulting classname:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Customer.Company.SilverlightApplication.Views.Application.ApplicationAdministrationView&lt;/p&gt;
&lt;p&gt;Why is the "Administration" part of the namespace removed???&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>wikstromjonas</author><pubDate>Fri, 07 Oct 2011 14:24:55 GMT</pubDate><guid isPermaLink="false">New Post: Yet another naming convention question 20111007022455P</guid></item><item><title>New Post: Message Routing Problem</title><link>http://caliburn.codeplex.com/discussions/272755</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello All&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have set up a shell application that I have been using to work on learning how to use Caliburn. Currently I am able to dynamically load up my ViewModels and select them and update the shell to show which ViewModel is currently active. I have noticed
 however that I have to bind any control that is also bound to is underlying ViewModel with like this:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;pre&gt;cal:Bind.Model=&amp;quot;{Binding SelectedViewModel}&amp;quot;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;p&gt;Where the SelectedViewModel is a property in ShellViewModel class. I have also noticed that data change events seem to be getting ignored. I think this is because the messages are going to the ShellViewModel and not to the ActiveItem or actual ViewModel
 that currently has focus. Am I correctly assessing this? Is there a way to resolve this?&lt;/p&gt;
&lt;p&gt;Any information or links on where to look would be most&amp;nbsp;appreciated.&lt;/p&gt;
&lt;p&gt;Thanks MacK&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>mackenziemi</author><pubDate>Thu, 15 Sep 2011 22:19:49 GMT</pubDate><guid isPermaLink="false">New Post: Message Routing Problem 20110915101949P</guid></item><item><title>New Post: TryClose() closes the view twice if a DialogResult is specified in WPF</title><link>http://caliburn.codeplex.com/discussions/272584</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have not tested this in Silverlight/WP7, but I ran into an issue where the CanClose guard on my screens was always being called twice if the screen was being closed with TryClose.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After doing some investigating, it looks like this only happens when you specify a DialogResult. In the Screen.GetViewCloseAction method, when you set the value on the DialogResult property the view is automatically closed. Then it gets closed again when
 the close method is explicitly invoked.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I modified the Screen.GetViewCloseAction method so that it doesn't invoke the close method if the result property was set. I'm not sure if that causes any side-effects on any other platforms, but it seems to work for me.&lt;/p&gt;
&lt;/div&gt;</description><author>unfug</author><pubDate>Wed, 14 Sep 2011 17:49:57 GMT</pubDate><guid isPermaLink="false">New Post: TryClose() closes the view twice if a DialogResult is specified in WPF 20110914054957P</guid></item><item><title>New Post: Executing Coroutines on activation and deactivation</title><link>http://caliburn.codeplex.com/discussions/259061</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;How would I&amp;nbsp;show a dialog from the VM's OnViewReady?&lt;/p&gt;
&lt;p&gt;In a VM method bound to a button, I can do the following:&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; IEnumerable ShowMyPopup() 
{ 
   &lt;span style="color: blue;"&gt;var&lt;/span&gt; showMyDialog = &lt;span style="color: blue;"&gt;new&lt;/span&gt; ShowDialog(); 
   &lt;span style="color: blue;"&gt;yield&lt;/span&gt; &lt;span style="color: blue;"&gt;return&lt;/span&gt; showMyDialog; 

   &lt;span style="color: blue;"&gt;var&lt;/span&gt; myResult = showMyDialog.Dialog.Result; 
}

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How would I do the same thing from OnViewReady?&lt;/p&gt;&lt;/div&gt;</description><author>rmtuckerphx</author><pubDate>Sat, 10 Sep 2011 04:31:47 GMT</pubDate><guid isPermaLink="false">New Post: Executing Coroutines on activation and deactivation 20110910043147A</guid></item></channel></rss>