From ddbcdf7f70415adeeeafcfcb6f03ff77a6f709dd Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Wed, 8 Mar 2023 18:30:31 -0600 Subject: [PATCH 01/12] Updated default root namespace and PackageId --- .../src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj b/template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj index 39e8f7ca1..9f72102f0 100644 --- a/template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj +++ b/template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj @@ -1,12 +1,12 @@ ProjectTemplate - CommunityToolkit.Labs.$(PackageIdVariant).ProjectTemplate + CommunityToolkit.Labs.$(PackageIdVariant).Controls.ProjectTemplate This package contains ProjectTemplate. 0.0.1 - CommunityToolkit.Labs.WinUI.ProjectTemplateRns + CommunityToolkit.WinUI.Controls.ProjectTemplateRns From b3088580ff7a9e1124ce512542c2379bccad3a5d Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Wed, 8 Mar 2023 18:30:44 -0600 Subject: [PATCH 02/12] Doc fix --- template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/README.md b/template/README.md index f32e0b93e..f56745ac6 100644 --- a/template/README.md +++ b/template/README.md @@ -15,7 +15,7 @@ dotnet new labexp -n MyExperimentNameHere ``` This creates a new experiment called "MyExperimentNameHere". -You can now open `./components/MyExperimentNameHere/MyExperimentNameHere.sln` and start your experiment. +You can now open `./components/MyExperimentNameHere/OpenSolution.bat` to start your experiment. ### Inside the generated solution From e0022a9a681b1cfc1dda0628647cbf944b0c400a Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Wed, 8 Mar 2023 18:51:15 -0600 Subject: [PATCH 03/12] Renamed template csproj --- ...roj => CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename template/ProjectTemplate/src/{CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj => CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj} (100%) diff --git a/template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj b/template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj similarity index 100% rename from template/ProjectTemplate/src/CommunityToolkit.Labs.WinUI.ProjectTemplate.csproj rename to template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj From d6ea465268859fd8aa5e6a5b9b8e7ad4ac55b52b Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Thu, 9 Mar 2023 17:04:32 -0600 Subject: [PATCH 04/12] Move PackageId prefix to property in Directory.Build.props --- Directory.Build.props | 1 + common/ToolkitComponent.SourceProject.props | 2 +- .../src/CommunityToolkit.Labs.WinUI.SegmentedControl.csproj | 1 - .../src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 158ebd1f0..1b9915078 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,6 @@ + CommunityToolkit.Labs $(MSBuildThisFileDirectory) true diff --git a/common/ToolkitComponent.SourceProject.props b/common/ToolkitComponent.SourceProject.props index a9f7d6578..1e87977be 100644 --- a/common/ToolkitComponent.SourceProject.props +++ b/common/ToolkitComponent.SourceProject.props @@ -10,7 +10,7 @@ - CommunityToolkit.Labs.$(PackageIdVariant).$(ToolkitComponentName) + $(PackageIdPrefix).$(PackageIdVariant).$(ToolkitComponentName) diff --git a/components/SegmentedControl/src/CommunityToolkit.Labs.WinUI.SegmentedControl.csproj b/components/SegmentedControl/src/CommunityToolkit.Labs.WinUI.SegmentedControl.csproj index e7ebc6f12..6ce285369 100644 --- a/components/SegmentedControl/src/CommunityToolkit.Labs.WinUI.SegmentedControl.csproj +++ b/components/SegmentedControl/src/CommunityToolkit.Labs.WinUI.SegmentedControl.csproj @@ -1,7 +1,6 @@ SegmentedControl - CommunityToolkit.Labs.$(PackageIdVariant).SegmentedControl This package contains SegmentedControl. 0.0.1 diff --git a/template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj b/template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj index 9f72102f0..23542be82 100644 --- a/template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj +++ b/template/ProjectTemplate/src/CommunityToolkit.WinUI.Controls.ProjectTemplate.csproj @@ -1,7 +1,7 @@ ProjectTemplate - CommunityToolkit.Labs.$(PackageIdVariant).Controls.ProjectTemplate + $(PackageIdPrefix).$(PackageIdVariant).Controls.ProjectTemplate This package contains ProjectTemplate. 0.0.1 From 837e28cf5915ee004bb14d0fd6812367744d4b34 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Thu, 9 Mar 2023 17:09:03 -0600 Subject: [PATCH 05/12] Moved code / docs to new default namespace --- .../ProjectTemplate/samples/ProjectTemplateCustomSample.xaml | 2 +- .../samples/ProjectTemplateTemplatedSample.xaml | 2 +- .../samples/ProjectTemplateTemplatedStyleCustomSample.xaml | 4 ++-- .../samples/ProjectTemplateXbindBackedSample.xaml | 2 +- .../samples/ProjectTemplateXbindBackedStyleCustomSample.xaml | 2 +- template/ProjectTemplate/src/ProjectTemplate.cs | 2 +- .../src/ProjectTemplateStyle_ClassicBinding.xaml | 2 +- template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml | 4 ++-- .../ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml.cs | 2 +- .../ProjectTemplate/src/ProjectTemplate_ClassicBinding.cs | 2 +- template/ProjectTemplate/src/ProjectTemplate_xBind.cs | 2 +- template/ProjectTemplate/src/Themes/Generic.xaml | 4 ++-- .../ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml | 2 +- template/README.md | 4 ++-- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml index c744fd697..0bc7f1eef 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:local="using:ProjectTemplateExperiment.Samples" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml index 06374b718..483a58433 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml index 12d353f09..dd1904fa4 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> @@ -11,7 +11,7 @@ - + diff --git a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml index c7661a1b4..d691840a1 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml index ecfb01deb..c7ec6ddda 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/src/ProjectTemplate.cs b/template/ProjectTemplate/src/ProjectTemplate.cs index 0f3f02d0d..87911049f 100644 --- a/template/ProjectTemplate/src/ProjectTemplate.cs +++ b/template/ProjectTemplate/src/ProjectTemplate.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.Labs.WinUI; +namespace CommunityToolkit.WinUI.Controls; /// /// This is an example control based off of the BoxPanel sample here: https://docs.microsoft.com/windows/apps/design/layout/boxpanel-example-custom-panel. If you need this similar sort of layout component for an application, see UniformGrid in the Toolkit. diff --git a/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml b/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml index b609a5716..b9f121597 100644 --- a/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml +++ b/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml @@ -1,7 +1,7 @@  + xmlns:labs="using:CommunityToolkit.WinUI.Controls"> diff --git a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml index f080a4180..27389a61b 100644 --- a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml +++ b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml @@ -1,8 +1,8 @@  - + xmlns:labs="using:CommunityToolkit.WinUI.Controls"> diff --git a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml.cs b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml.cs index adacfe974..e0770101e 100644 --- a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml.cs +++ b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.Labs.WinUI; +namespace CommunityToolkit.WinUI.Controls; /// /// Backing code for this resource dictionary. diff --git a/template/ProjectTemplate/src/ProjectTemplate_ClassicBinding.cs b/template/ProjectTemplate/src/ProjectTemplate_ClassicBinding.cs index 745f11b01..ccb3fb2b7 100644 --- a/template/ProjectTemplate/src/ProjectTemplate_ClassicBinding.cs +++ b/template/ProjectTemplate/src/ProjectTemplate_ClassicBinding.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.Labs.WinUI; +namespace CommunityToolkit.WinUI.Controls; /// /// An example templated control. diff --git a/template/ProjectTemplate/src/ProjectTemplate_xBind.cs b/template/ProjectTemplate/src/ProjectTemplate_xBind.cs index 461e24205..d8e0811ac 100644 --- a/template/ProjectTemplate/src/ProjectTemplate_xBind.cs +++ b/template/ProjectTemplate/src/ProjectTemplate_xBind.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.Labs.WinUI; +namespace CommunityToolkit.WinUI.Controls; /// /// An example templated control. diff --git a/template/ProjectTemplate/src/Themes/Generic.xaml b/template/ProjectTemplate/src/Themes/Generic.xaml index eb4e339ad..d61389163 100644 --- a/template/ProjectTemplate/src/Themes/Generic.xaml +++ b/template/ProjectTemplate/src/Themes/Generic.xaml @@ -1,10 +1,10 @@  + xmlns:labs="using:CommunityToolkit.WinUI.Controls"> - + diff --git a/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml b/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml index c2936542a..ab8c8cecc 100644 --- a/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml +++ b/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" + xmlns:labs="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" mc:Ignorable="d"> diff --git a/template/README.md b/template/README.md index f56745ac6..028b99579 100644 --- a/template/README.md +++ b/template/README.md @@ -31,7 +31,7 @@ The `Tests` folder contains projects used to run the tests on different platform #### Where to add your code -The main code of your experiment will go in the project `CommunityToolkit.Labs.WinUI.MyExperimentNameHere`. When an experiment is merged into Labs, this code will be bundled automatically in a NuGet package and pushed to the Labs DevOps feed. This will let others try out your experiment and provide feedback to further your experiment. +The main code of your experiment will go in the project `CommunityToolkit.WinUI.Controls.MyExperimentNameHere`. When an experiment is merged into Labs, this code will be bundled automatically in a NuGet package and pushed to the Labs DevOps feed. This will let others try out your experiment and provide feedback to further your experiment. You will find an empty class in `MyExperimentNameHere.cs` that you can use as your starting point or one of the templated variants. You can find more info in the `MyExperimentNameHere.md` file in the sample project. The project `MyExperimentNameHere.Sample`is where you can put code that will allow you to demonstrate and exercise the experiment. In this project you'll find a sample page that includes an example of how to use settings and properties that can be controlled within the sample app. This folder also contains a **markdown** file that contains the documentation for the experiment and how to use it. @@ -64,7 +64,7 @@ This may require a reboot. #### Updating NuGet Package -Packages are manually versioned right now, [see this issue here](https://github.com/CommunityToolkit/Labs-Windows/issues/133). In order to update your NuGet package, update the `` tag in your library's `CommunityToolkit.Labs.WinUI.MyExperimentNameHere.csproj` file. +Packages are manually versioned right now, [see this issue here](https://github.com/CommunityToolkit/Labs-Windows/issues/133). In order to update your NuGet package, update the `` tag in your library's `CommunityToolkit.WinUI.Controls.MyExperimentNameHere.csproj` file. #### WebAssembly Sample Project From d3f624073b67697734b83b2652980b8a634703d7 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Thu, 9 Mar 2023 17:24:18 -0600 Subject: [PATCH 06/12] Use xmlns:controls instead of xmlns:labs --- .../ProjectTemplate/samples/ProjectTemplateCustomSample.xaml | 2 +- .../ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml | 2 +- .../samples/ProjectTemplateTemplatedStyleCustomSample.xaml | 2 +- .../samples/ProjectTemplateXbindBackedSample.xaml | 2 +- .../samples/ProjectTemplateXbindBackedStyleCustomSample.xaml | 2 +- .../src/ProjectTemplateStyle_ClassicBinding.xaml | 2 +- template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml | 2 +- template/ProjectTemplate/src/Themes/Generic.xaml | 2 +- .../ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml index 0bc7f1eef..c2573317c 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:local="using:ProjectTemplateExperiment.Samples" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml index 483a58433..a25c3e143 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml index dd1904fa4..6a706d62c 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml index d691840a1..a2447bc5c 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml index c7ec6ddda..7a72deb5f 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> diff --git a/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml b/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml index b9f121597..91aa0fc87 100644 --- a/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml +++ b/template/ProjectTemplate/src/ProjectTemplateStyle_ClassicBinding.xaml @@ -1,7 +1,7 @@  + xmlns:controls="using:CommunityToolkit.WinUI.Controls"> diff --git a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml index 27389a61b..9f940424a 100644 --- a/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml +++ b/template/ProjectTemplate/src/ProjectTemplateStyle_xBind.xaml @@ -2,7 +2,7 @@ + xmlns:controls="using:CommunityToolkit.WinUI.Controls"> diff --git a/template/ProjectTemplate/src/Themes/Generic.xaml b/template/ProjectTemplate/src/Themes/Generic.xaml index d61389163..adfa0d336 100644 --- a/template/ProjectTemplate/src/Themes/Generic.xaml +++ b/template/ProjectTemplate/src/Themes/Generic.xaml @@ -1,6 +1,6 @@  + xmlns:controls="using:CommunityToolkit.WinUI.Controls"> diff --git a/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml b/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml index ab8c8cecc..f02111185 100644 --- a/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml +++ b/template/ProjectTemplate/tests/ExampleProjectTemplateTestPage.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" mc:Ignorable="d"> From 01ee9d6cdf0e529b661c8eee41e0ba99f4c8cec3 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Thu, 9 Mar 2023 17:24:18 -0600 Subject: [PATCH 07/12] Use xmlns:controls instead of xmlns:labs --- .../samples/ProjectTemplateCustomSample.xaml | 6 +++--- .../samples/ProjectTemplateTemplatedSample.xaml | 4 ++-- .../ProjectTemplateTemplatedStyleCustomSample.xaml | 4 ++-- .../samples/ProjectTemplateXbindBackedSample.xaml | 4 ++-- .../ProjectTemplateXbindBackedStyleCustomSample.xaml | 6 +++--- .../src/ProjectTemplateStyle_ClassicBinding.xaml | 10 +++++----- .../src/ProjectTemplateStyle_xBind.xaml | 12 ++++++------ template/ProjectTemplate/src/Themes/Generic.xaml | 4 ++-- .../tests/ExampleProjectTemplateTestPage.xaml | 4 ++-- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml index 0bc7f1eef..47c8feb9a 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:local="using:ProjectTemplateExperiment.Samples" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> @@ -11,13 +11,13 @@ - + - + diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml index 483a58433..a9ac85d37 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedSample.xaml @@ -3,12 +3,12 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> - diff --git a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml index dd1904fa4..a9c992e7b 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateTemplatedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> @@ -17,7 +17,7 @@ - - diff --git a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml index c7ec6ddda..04912df84 100644 --- a/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml +++ b/template/ProjectTemplate/samples/ProjectTemplateXbindBackedStyleCustomSample.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.WinUI.Controls" + xmlns:controls="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> @@ -11,13 +11,13 @@ - + - + xmlns:controls="using:CommunityToolkit.WinUI.Controls"> @@ -22,16 +22,16 @@