laatzen/Common/Ui/Common.UI.VFM/Views/MainWindow.xaml
2024-07-01 08:42:23 +02:00

29 lines
1022 B
XML

<Window x:Class="Common.UI.VFM.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:V="clr-namespace:Common.UI.VFM.Views"
xmlns:VM="clr-namespace:Common.UI.VFM.ViewModels"
WindowStartupLocation="CenterScreen"
WindowStyle="SingleBorderWindow"
WindowState="Normal"
Title="MainWindow"
Height="800"
Width="600"
Background="WhiteSmoke">
<Window.DataContext>
<VM:MainWindowViewModel />
</Window.DataContext>
<ContentControl Content="{Binding Content}" >
<ContentControl.Resources>
<DataTemplate DataType="{x:Type VM:EmptyViewModel}">
<V:EmptyView />
</DataTemplate>
<DataTemplate DataType="{x:Type VM:ShipmnetViewModel}">
<V:ShipmentView />
</DataTemplate>
</ContentControl.Resources>
</ContentControl>
</Window>