diff --git a/dotnet-desktop-guide/framework/wpf/controls/snippets/shared/templates/WindowTemplate.xaml b/dotnet-desktop-guide/framework/wpf/controls/snippets/shared/templates/WindowTemplate.xaml
index 0caa2d4795..554e4141bb 100644
--- a/dotnet-desktop-guide/framework/wpf/controls/snippets/shared/templates/WindowTemplate.xaml
+++ b/dotnet-desktop-guide/framework/wpf/controls/snippets/shared/templates/WindowTemplate.xaml
@@ -2,30 +2,13 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
diff --git a/dotnet-desktop-guide/framework/wpf/controls/window-styles-and-templates.md b/dotnet-desktop-guide/framework/wpf/controls/window-styles-and-templates.md
index f40e9e1c98..f59b472841 100644
--- a/dotnet-desktop-guide/framework/wpf/controls/window-styles-and-templates.md
+++ b/dotnet-desktop-guide/framework/wpf/controls/window-styles-and-templates.md
@@ -31,7 +31,7 @@ This topic describes the styles and templates for the control:
+The following XAML is a generated copy of the control template:
:::code language="xaml" source="./snippets/shared/templates/WindowTemplate.xaml":::