Skip to content

Commit 9eb63f5

Browse files
Move more complex InPlaceTextEditor Sample to its own subdirectory (need to adjust namespace to match for Sample App to find)
1 parent f37a46b commit 9eb63f5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/Adorners/samples/InPlaceTextEditorAdorner.xaml renamed to components/Adorners/samples/InPlaceTextEditor/InPlaceTextEditorAdorner.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<ResourceDictionary x:Class="AdornersExperiment.Samples.InPlaceTextEditorAdornerResources"
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
2+
<ResourceDictionary x:Class="AdornersExperiment.Samples.InPlaceTextEditor.InPlaceTextEditorAdornerResources"
23
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
34
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
45
xmlns:Windows11="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 14)"
56
xmlns:behaviors="using:CommunityToolkit.WinUI.Behaviors"
67
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
7-
xmlns:local="using:AdornersExperiment.Samples">
8+
xmlns:local="using:AdornersExperiment.Samples.InPlaceTextEditor">
89

910
<!-- Implicitly applied default style -->
1011
<Style BasedOn="{StaticResource DefaultInPlaceTextEditorAdornerStyle}"

components/Adorners/samples/InPlaceTextEditorAdorner.xaml.cs renamed to components/Adorners/samples/InPlaceTextEditor/InPlaceTextEditorAdorner.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
namespace AdornersExperiment.Samples;
5+
namespace AdornersExperiment.Samples.InPlaceTextEditor;
66

77
public sealed partial class InPlaceTextEditorAdornerResources : ResourceDictionary
88
{

components/Adorners/samples/InPlaceTextEditorAdornerSample.xaml renamed to components/Adorners/samples/InPlaceTextEditor/InPlaceTextEditorAdornerSample.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
2-
<Page x:Class="AdornersExperiment.Samples.InPlaceTextEditorAdornerSample"
2+
<Page x:Class="AdornersExperiment.Samples.InPlaceTextEditor.InPlaceTextEditorAdornerSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6-
xmlns:local="using:AdornersExperiment.Samples"
6+
xmlns:local="using:AdornersExperiment.Samples.InPlaceTextEditor"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
99
xmlns:ui="using:CommunityToolkit.WinUI"

components/Adorners/samples/InPlaceTextEditorAdornerSample.xaml.cs renamed to components/Adorners/samples/InPlaceTextEditor/InPlaceTextEditorAdornerSample.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
// See the LICENSE file in the project root for more information.
44

55
using CommunityToolkit.WinUI;
6-
using Windows.Foundation.Metadata;
76

8-
namespace AdornersExperiment.Samples;
7+
namespace AdornersExperiment.Samples.InPlaceTextEditor;
98

109
[ToolkitSample(id: nameof(InPlaceTextEditorAdornerSample), "In place text editor Adorner", description: "A sample for showing how add a popup TextBox component via an Adorner of a TextBlock.")]
1110
public sealed partial class InPlaceTextEditorAdornerSample : Page

0 commit comments

Comments
 (0)