Factories and Views
This commit is contained in:
parent
4e7dfc56a8
commit
2529b728ba
16 changed files with 188 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
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:reactiveui="http://reactiveui.net"
|
||||
xmlns:ifcvm="using:InkForge.Common.ViewModels"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
|
|
@ -9,5 +10,9 @@
|
|||
x:Class="InkForge.Common.Views.LandingView"
|
||||
x:DataType="ifcvm:LandingViewModel">
|
||||
<Grid RowDefinitions="Auto, *, Auto">
|
||||
<Label Content="InkForge"
|
||||
Grid.Row="0" />
|
||||
|
||||
<reactiveui:RoutedViewHost Router="{CompiledBinding Router}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
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"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="InkForge.Common.Views.LandingViews.CreateWorkspaceView">
|
||||
Welcome to Avalonia!
|
||||
</UserControl>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using Avalonia.ReactiveUI;
|
||||
|
||||
using InkForge.Common.ViewModels.Landing;
|
||||
|
||||
namespace InkForge.Common.Views.LandingViews;
|
||||
|
||||
public partial class CreateWorkspaceView : ReactiveUserControl<CreateWorkspaceViewModel>
|
||||
{
|
||||
public CreateWorkspaceView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
10
app/InkForge.Common/Views/LandingViews/OpenRecentView.axaml
Normal file
10
app/InkForge.Common/Views/LandingViews/OpenRecentView.axaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
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"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="InkForge.Common.Views.LandingViews.OpenRecentView">
|
||||
Welcome to Avalonia!
|
||||
</UserControl>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using Avalonia.ReactiveUI;
|
||||
|
||||
using InkForge.Common.ViewModels.Landing;
|
||||
|
||||
namespace InkForge.Common.Views.LandingViews;
|
||||
|
||||
public partial class OpenRecentView : ReactiveUserControl<OpenRecentViewModel>
|
||||
{
|
||||
public OpenRecentView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue