2
I have a button user in my title bar that will allow it to switch between users or exit the application. How do I create a menu that contains these two functionalities?
<controls:MetroWindow.RightWindowCommands>
<controls:WindowCommands>
<Button>
<StackPanel Orientation="Horizontal">
<Ellipse Width="30"
Height="30"
Fill="{Binding RelativeSource={RelativeSource AncestorType=Button}, Path=Foreground}">
</Ellipse>
<TextBlock Margin="4 0 0 0"
VerticalAlignment="Center"
Text="Jalber" />
</StackPanel>
</Button>
</controls:WindowCommands>
</controls:MetroWindow.RightWindowCommands>