Daten werden nun geladen
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<Window x:Class="GuiWPF.MainWindow"
|
||||
<Window x:Class="WPF.MainWindow"
|
||||
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:GuiWPF"
|
||||
xmlns:local="clr-namespace:WPF"
|
||||
mc:Ignorable="d"
|
||||
Title="{Binding PageTitle, StringFormat={} DP - {0}}" Height="450" Width="800">
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
<Window.Resources>
|
||||
<DataTemplate DataType="{x:Type local:HomePageViewModel}">
|
||||
<local:HomePageView />
|
||||
@@ -17,8 +17,8 @@
|
||||
<DockPanel>
|
||||
<StackPanel DockPanel.Dock="Left">
|
||||
<Button Content="Home Page" Command="{Binding Path=LoadHomePageCommand}" />
|
||||
<Button Content="Settings Page" Command="{Binding Path=LoadSettingsPageCommand}"/>
|
||||
<Button Content="Settings Page" Command="{Binding Path=LoadSettingsPageCommand}" />
|
||||
</StackPanel>
|
||||
<ContentControl Content="{Binding CurrentViewModel}" Name="Contenter"></ContentControl>
|
||||
<ContentControl Content="{Binding Path=CurrentViewModel}" />
|
||||
</DockPanel>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user