Skip to content

Commit

Permalink
EditorCanvas
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Oct 3, 2023
1 parent d1f201a commit f4372d5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Editor/TestEditor/Infrastructures/EditorCanvas.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<UserControl
x:Class="TestEditor.EditorCanvas"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TestEditor"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

<Grid>

</Grid>
</UserControl>
10 changes: 10 additions & 0 deletions Editor/TestEditor/Infrastructures/EditorCanvas.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace TestEditor
{
public sealed partial class EditorCanvas : UserControl
{
public EditorCanvas()
{
InitializeComponent();
}
}
}
6 changes: 6 additions & 0 deletions Editor/TestEditor/TestEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<None Remove="EditorPage.xaml" />
<None Remove="HomePage.xaml" />
<None Remove="Infrastructures\AppTitleBar.xaml" />
<None Remove="Infrastructures\EditorCanvas.xaml" />
<None Remove="Infrastructures\LayerToolPage.xaml" />
<None Remove="Infrastructures\PaletteToolPage.xaml" />
<None Remove="Infrastructures\ToolWindow.xaml" />
Expand Down Expand Up @@ -131,6 +132,11 @@
<ItemGroup>
<PRIResource Remove="Extensions\**" />
</ItemGroup>
<ItemGroup>
<Page Update="Infrastructures\EditorCanvas.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Page Update="Infrastructures\LayerToolPage.xaml">
<Generator>MSBuild:Compile</Generator>
Expand Down

0 comments on commit f4372d5

Please sign in to comment.