Indicates that a class can use a markup extension to provide a value, and references a handler to use for markup extension set operations.
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := False)> _ Public NotInheritable Class XamlSetMarkupExtensionAttribute _ Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public sealed class XamlSetMarkupExtensionAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)] public ref class XamlSetMarkupExtensionAttribute sealed : public Attribute
[<Sealed>] [<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)>] type XamlSetMarkupExtensionAttribute = class inherit Attribute end
The XamlSetMarkupExtensionAttribute type exposes the following members.
Default implementation for a XAML object writer uses CLR reflection and this CLR attribute to determine if there is an intentional callback for markup extension usages that set values of a type or member. For example, a XamlServices load or parse, or a XamlXmlReader / XamlObjectWriter sequence, will use this attribute and invoke the named callback as part of the operation whenever writing the object node based on a markup extension usage.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2