Retail_manager/RMWPFUserInterface/Views/ShellView.xaml

26 lines
1.2 KiB
Plaintext
Raw Normal View History

<Window x:Class="RMWPFUserInterface.Views.ShellView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:RMWPFUserInterface.Views"
mc:Ignorable="d"
Title="ShellView" Height="600" Width="1000">
2022-07-08 16:27:24 +02:00
<DockPanel>
<Menu DockPanel.Dock="Top" FontSize="18">
<MenuItem Header="_File">
2022-07-27 16:41:36 +02:00
<MenuItem x:Name="ExitApplication" Header="E_xit"/>
2022-07-08 16:27:24 +02:00
</MenuItem>
<MenuItem Header="_Users">
<MenuItem x:Name="UserManagement" Header="User_Management"/>
</MenuItem>
2022-07-27 16:41:36 +02:00
<MenuItem Header="_Account" Visibility="{Binding IsLoggedIn, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
<MenuItem x:Name="LogOut" Header="_Log Out"/>
2022-07-08 16:27:24 +02:00
</MenuItem>
</Menu>
<Grid>
<ContentControl x:Name="ActiveItem" Margin="20 5 20 20" />
2022-07-08 16:27:24 +02:00
</Grid>
</DockPanel>
</Window>