Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: prism: problems with dynamically adding tabitems

$
0
0

Hi,

1-Thanks Adami it is another problem solved, the problem of showing HeaderInfo in the Tab Header.

2-For the tabs duplication problem:

 i found when inserting Breakpoint @ open { of the following block

 if (subsysdetailsViewModel.Subsystem != null && subsysdetailsViewModel.Subsystem == Subsys)
                    {
                        mainRegion.Activate(view);
                        alreadyExists = true;
                    }

i found that the breakpoint is hit only in one situation when i try to open same tabitem following to itself but if there is different tab in between the brakpoint is not hit meaning that condition "subsysdetailsViewModel.Subsystem == Subsys" compare current tab with the previous one only not with all open tabs.

3-If there is diffrent apprach like using  UriQueryclass or so, may it will be simpler or better

thanks for your always useful help.

 


Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>