Retail_manager/RMWPFUserInterface/Views/ShellView.xaml
2022-07-27 16:41:36 +02:00

23 lines
1.0 KiB
XML

<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">
<DockPanel>
<Menu DockPanel.Dock="Top" FontSize="18">
<MenuItem Header="_File">
<MenuItem x:Name="ExitApplication" Header="E_xit"/>
</MenuItem>
<MenuItem Header="_Account" Visibility="{Binding IsLoggedIn, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
<MenuItem x:Name="LogOut" Header="_Log Out"/>
</MenuItem>
</Menu>
<Grid>
<ContentControl x:Name="ActiveItem" Margin="20 5 20 20" />
</Grid>
</DockPanel>
</Window>