Update HamburgerMenu Test for PageParam changed
Update HamburgerMenu Test for PageParam changed

The HamburgerMenu currently only tests for a new PageType when a menu button is clicked/tapped therefore will not update correctly if you have a situation where you have multi menu items with the same PageType but different PageParam values

Also the menu will not navigate to the same view that has a different parameter passed to it as in this example below
where you have two menu options which navigate to the same view but with different parameters

                <Controls:HamburgerButtonInfo ClearHistory="True" PageType="views:DetailPage" PageParameter="A">
                    <StackPanel Orientation="Horizontal">
                        <SymbolIcon Width="48" Height="48" Symbol="Comment" />
                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Comment A" />
                    </StackPanel>
                </Controls:HamburgerButtonInfo>

                <Controls:HamburgerButtonInfo ClearHistory="True" PageType="views:DetailPage" PageParameter="B">
                    <StackPanel Orientation="Horizontal">
                        <SymbolIcon Width="48" Height="48" Symbol="Comment" />
                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Comment B" />
                    </StackPanel>
                </Controls:HamburgerButtonInfo>
            </Controls:HamburgerMenu.PrimaryButtons>

You could have this scenario as above with hardcoded xaml menu items or if you are pulling information from an API or database to create menu options

In the proposed change I have added the test to include the page parameter and also update the correct "selected" menu item

I also notice there is an issue with the back navigation not highlighting the previous selected menu item after the page has navigated back from a previous page... I have not found a solution/fix for that in this change
gsantopaolo/Template10,dincerkazmaci/Template10,MohamedELSaQeR/Template10,soeron/Template10,Remmo/Template10,mitkodi/Template10,GFlisch/Template10,devinfluencer/Template10,artfuldev/Template10,waynebaby/Template10,dkackman/Template10,h82258652/Template10,liptonbeer/Template10,abubberman/Template10,AparnaChinya/Template10,hungys/Template10,lombo75/Template10,Windows-XAML/Template10,bigtlb/Template10,AparnaChinya/Template10,haseeb1431/Template10,Remmo/Template10,ivesely/Template10,Eclo/Template10,Viachaslau-Zinkevich/Template10,bc3tech/Template10,teamneusta/Template10,DelfCo/Template10,gsantopaolo/Template10,bc3tech/Template10,MichaelPetrinolis/Template10,SimoneBWS/Template10,janabimustafa/Template10,MizzleMo/Template10,haseeb1431/Template10,waynebaby/Template10,SimoneBWS/Template10,callummoffat/Template10,GFlisch/Template10,DelfCo/Template10,dincerkazmaci/Template10,MichaelPetrinolis/Template10,bigtlb/Template10,abubberman/Template10,MohamedELSaQeR/Template10,h82258652/Template10,kenshinthebattosai/Template10,artfuldev/Template10,Eclo/Template10,startewho/Template10,dkackman/Template10,startewho/Template10,hungys/Template10,MizzleMo/Template10,pekspro/Template10,teamneusta/Template10,mitkodi/Template10,devinfluencer/Template10,pekspro/Template10,callummoffat/Template10,liptonbeer/Template10,soeron/Template10,mvermef/Template10,dg2k/Template10,Viachaslau-Zinkevich/Template10,janabimustafa/Template10,lombo75/Template10,ivesely/Template10,kenshinthebattosai/Template10