"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"
For example, you may want to set a property value to an object that already exists. Or you may want to set a property value dynamically, by binding it to a property in another control. In both of these cases, you need to use a markup extension??”specialized syntax that sets a property in a nonstandard way. Markup extensions can be used in nested tags or in XML attributes, which is more common. When they??™re used in attributes, they are always bracketed by curly braces {}. For CHAPTER 2 n XAML 36 example, here??™s how you can use the StaticExtension, which allows you to refer to a shared property in another class: