Adding biolerplate for other pages
This commit is contained in:
10
SessionZero/Pages/LibraryPage.axaml
Normal file
10
SessionZero/Pages/LibraryPage.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="SessionZero.Pages.LibraryPage">
|
||||
<StackPanel>
|
||||
<Label FontSize="20">Library</Label>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
16
SessionZero/Pages/LibraryPage.axaml.cs
Normal file
16
SessionZero/Pages/LibraryPage.axaml.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace SessionZero.Pages;
|
||||
|
||||
public partial class LibraryPage : UserControl, IPageBase
|
||||
{
|
||||
public string PageName { get; set; } = "Library";
|
||||
|
||||
public LibraryPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
||||
10
SessionZero/Pages/SettingsPage.axaml
Normal file
10
SessionZero/Pages/SettingsPage.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="SessionZero.Pages.SettingsPage">
|
||||
<StackPanel>
|
||||
<Label FontSize="20">Settings</Label>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
15
SessionZero/Pages/SettingsPage.axaml.cs
Normal file
15
SessionZero/Pages/SettingsPage.axaml.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace SessionZero.Pages;
|
||||
|
||||
public partial class SettingsPage : UserControl, IPageBase
|
||||
{
|
||||
public string PageName { get; set; } = "Settings";
|
||||
|
||||
public SettingsPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user