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

Created Unassigned: Views NOT Having ViewSortHint are ordered ahead of views having ViewSortHint - Prism 5.0 for WPF [10723]

$
0
0
I have a TabControl with a region. In the module's initializer I add 4 views to the region using RegionManager.RegisterViewWithRegion.

If I put a ViewSortHint on each of the 4 Views, sorting in the TabControl is as expected. If I omit the ViewSortHint for one view, this view is ordered ahead of the views having a ViewSortHint. This seems odd and to be in contradiction with the text at the bottom of page 143 of the guide where it reads "Views that have the sort hint attribute are ordered ahead of those without.".

Am I doing a mistake or is there an error in this simple aspect of the Prism library?


Viewing all articles
Browse latest Browse all 1878

Trending Articles



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