Uredi

XamlSetTypeConverterAttribute Class

Definition

Indicates that a class can use a type converter to provide a value, and references a handler to use for type converter setting cases.

public ref class XamlSetTypeConverterAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class XamlSetTypeConverterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type XamlSetTypeConverterAttribute = class
    inherit Attribute
Public NotInheritable Class XamlSetTypeConverterAttribute
Inherits Attribute
Inheritance
XamlSetTypeConverterAttribute
Attributes

Remarks

XAML behavior that interprets CLR attributes uses this attribute to determine if there is an intentional callback for all type converter usages 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 an object node based on an attributed and invoked type converter.

Constructors

Name Description
XamlSetTypeConverterAttribute(String)

Initializes a new instance of the XamlSetTypeConverterAttribute class.

Properties

Name Description
XamlSetTypeConverterHandler

Gets the xamlSetTypeConverterHandler initialization value (the handler name) specified in the XamlSetTypeConverterAttribute.

Applies to

See also