From 59f113791eb74758790edeca8e65d5f3fa21be5c Mon Sep 17 00:00:00 2001 From: "Andy (Steve) De George" <67293991+adegeo@users.noreply.github.com> Date: Fri, 21 Jan 2022 09:02:18 -0800 Subject: [PATCH] Update attached-properties-overview.md (#1277) --- .../framework/wpf/advanced/attached-properties-overview.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/framework/wpf/advanced/attached-properties-overview.md b/dotnet-desktop-guide/framework/wpf/advanced/attached-properties-overview.md index 60455f61eb..2c2be8b448 100644 --- a/dotnet-desktop-guide/framework/wpf/advanced/attached-properties-overview.md +++ b/dotnet-desktop-guide/framework/wpf/advanced/attached-properties-overview.md @@ -28,7 +28,11 @@ In XAML, you set attached properties by using the syntax *AttachedPropertyProvid The following is an example of how you can set in XAML: -[!code-xaml[PropertiesOvwSupport#APBasicUsage](~/samples/snippets/csharp/VS_Snippets_Wpf/PropertiesOvwSupport/CSharp/page4.xaml#apbasicusage)] +```xaml + + Enter text + +``` The usage is somewhat similar to a static property; you always reference the type that owns and registers the attached property, rather than referring to any instance specified by name.