This commit is contained in:
shinichi
2020-10-09 16:22:28 +02:00
parent 278a5adb5e
commit 5fcf0d177b
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
<UserControl x:Class="ClientApp.Views.LoginView" <Page x:Class="ClientApp.Views.LoginView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
@@ -19,4 +19,4 @@
</Popup> </Popup>
</StackPanel> </StackPanel>
</DockPanel> </DockPanel>
</UserControl> </Page>

View File

@@ -16,7 +16,7 @@ namespace ClientApp.Views
/// <summary> /// <summary>
/// Interaction logic for LoginView.xaml /// Interaction logic for LoginView.xaml
/// </summary> /// </summary>
public partial class LoginView : UserControl public partial class LoginView : Page
{ {
public LoginView() public LoginView()
{ {

View File

@@ -1,4 +1,4 @@
<UserControl x:Class="ClientApp.Views.MainView" <Page x:Class="ClientApp.Views.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
@@ -49,4 +49,4 @@
</Grid> </Grid>
</DockPanel> </DockPanel>
</UserControl> </Page>

View File

@@ -17,7 +17,7 @@ namespace ClientApp.Views
/// <summary> /// <summary>
/// Interaction logic for MainView.xaml /// Interaction logic for MainView.xaml
/// </summary> /// </summary>
public partial class MainView : UserControl public partial class MainView : Page
{ {
public MainView() public MainView()
{ {

View File

@@ -11,6 +11,6 @@
<DockPanel> <DockPanel>
<Label Content="gemaakt door: mensen" DockPanel.Dock="Bottom" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontStyle="Italic" Foreground="Gray"/> <Label Content="gemaakt door: mensen" DockPanel.Dock="Bottom" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontStyle="Italic" Foreground="Gray"/>
<ContentControl HorizontalAlignment="Center" VerticalAlignment="Center" Content="{Binding SelectedViewModel}" Focusable="False" /> <Frame HorizontalAlignment="Center" VerticalAlignment="Center" Content="{Binding SelectedViewModel}" Focusable="False"/>
</DockPanel> </DockPanel>
</Window> </Window>