Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation history in Hamburger Menu #4355

Open
raggnic opened this issue Oct 4, 2022 · 0 comments
Open

Navigation history in Hamburger Menu #4355

raggnic opened this issue Oct 4, 2022 · 0 comments

Comments

@raggnic
Copy link

raggnic commented Oct 4, 2022

Describe the feature

I'm using HamburgerMenu in our app. Item are related so I'd need to go back and forth between pages. Is it possible to mix the MetroNavigationWindow with the HamburgerMenu?

Additional context

I think UI could go in header left of Content Title

<mah:HamburgerMenu.ContentTemplate>
                <DataTemplate DataType="{x:Type mah:HamburgerMenuItem }">
                    <Grid x:Name="TheContentGrid">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="48" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Border Grid.Row="0"
                                Background="#FF444444">
                            <Grid>
                                 <!-- Navigation UI -->
                                 <navigation:NavigationUI HorizontalAlignment="Left" VerticalAlignment="Center"/>
                                <TextBlock x:Name="Header"
                                       HorizontalAlignment="Center"
                                       VerticalAlignment="Center"
                                       FontSize="24"
                                       Foreground="White"
                                       Text="{Binding Label}" />
                                <status:StatusButton HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0"/>
                            </Grid>
                        </Border>
                        <ContentControl x:Name="TheContent"
                                        Grid.Row="1"
                                        Focusable="False"
                                        Content="{Binding Tag}" />
                    </Grid>
                </DataTemplate>
            </mah:HamburgerMenu.ContentTemplate>

Does it sound like a feasible idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant