Skip to content

Commit

Permalink
EditorCanvas is located in the namespace TestEditor.Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Oct 7, 2023
1 parent 805ba67 commit f2b081c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<UserControl
x:Class="TestEditor.EditorCanvas"
x:Class="TestEditor.Editor.EditorCanvas"
x:Name="CanvasInstance"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TestEditor"
xmlns:local="using:TestEditor.Editor"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:canvas="using:Microsoft.Graphics.Canvas.UI.Xaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
using Microsoft.UI.Xaml.Input;

using TestEditor.Contents;
using TestEditor.Editor;

using Windows.Foundation;

namespace TestEditor
namespace TestEditor.Editor
{
public sealed partial class EditorCanvas : UserControl
{
Expand Down
3 changes: 2 additions & 1 deletion Editor/TestEditor/Infrastructures/EditorPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
xmlns:canvas="using:Microsoft.Graphics.Canvas.UI.Xaml"
xmlns:local="using:TestEditor"
xmlns:winui="using:TestEditor.WinUI"
xmlns:nsedit="using:TestEditor.Editor"
mc:Ignorable="d"
Loaded="OnLoaded" Unloaded="OnUnloaded"
GotFocus="OnFocused" LostFocus="OnLostFocus">
Expand Down Expand Up @@ -116,7 +117,7 @@

<Border Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}"/>

<local:EditorCanvas x:Name="editorCanvas"
<nsedit:EditorCanvas x:Name="editorCanvas"
x:Load="False"
Loaded="OnCanvasLoaded"
Unloaded="OnCanvasUnloaded"
Expand Down

0 comments on commit f2b081c

Please sign in to comment.