Beispiel #1
0
 private void LoadNavigationGraphs(XmlNode configNode)
 {
     //Get the configured navigation graphs
     NavigationGraphSettings navigationGraph;
     foreach( XmlNode navigationGraphNode in configNode.SelectNodes( NodeNavigationGraphXPath ) )
     {
         navigationGraph = new NavigationGraphSettings( navigationGraphNode );
         _navigatorCollection.Add( navigationGraph.Name, navigationGraph );
     }
 }
Beispiel #2
0
        private ViewSettings GetSharedTransitionView(NavigationGraphSettings navigationGraph,string navigateValue)
        {
            SharedTransitionSettings sharedTransition = null;
            ViewSettings sharedView = null;

            sharedTransition = navigationGraph.GetSharedTransitionSettings ( navigateValue );

            if ( null == sharedTransition )
                sharedTransition = this.GetSharedTransitionSettings ( navigateValue );

            if ( sharedTransition != null)
                sharedView = GetViewSettingsFromName( sharedTransition.View );

            return sharedView;
        }