﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Different navigation targets for grouped litbox items</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Different-navigation-targets-for-grouped-litbox-items/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Different navigation targets for grouped litbox items</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Different-navigation-targets-for-grouped-litbox-items/</link><pubDate>Sun, 11 Jan 2015 15:58:29 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Fabian,&lt;/p&gt;&lt;p&gt;Yes, it is possible to navigate to different target (ViewModel) in the list. In the binding provider of the list, bind the table view to the DetailNavigationTargetProperty and specify the property that will be queried during navigation.&lt;/p&gt;&lt;p&gt;Finally, in the list ViewModel, you added a property that corresponds to the binding definition. You can then put the logic in the property's getter and return the desired NavigationTarget. This flexibility allows you to navigate to any kind of different page based on your condition, not just limited to two.&lt;/p&gt;&lt;p&gt;The example of the property definition would look like the following:&lt;/p&gt;&lt;pre&gt;&lt;br&gt;&lt;br&gt;public NavigationTarget Target{
    get
    {
        if (someCondition)
             return new NavigationTarget(typeof(ViewModelA));
        else
             return new NavigationTarget(typeof(ViewModelB));
    }
}&lt;br&gt;&lt;br&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Different navigation targets for grouped litbox items</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Different-navigation-targets-for-grouped-litbox-items/</link><pubDate>Wed, 07 Jan 2015 14:28:40 GMT</pubDate><dc:creator>prog1</dc:creator><description>&lt;p&gt;Is it possible to have different navigation tagets within ohne grouped listbox.&lt;/p&gt;&lt;p&gt;Depending on the ViewModels the user should be navigated to a different page.&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;If boolean is true navigate to a result page.&lt;/p&gt;&lt;p&gt;If boolean is false navigate to a page with user actions.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does crosslight support this scenario?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>