XmlnsDefinitionAttribute Class

Summary

Maps an XML namespace to a CLR namespace for use in XAML.
Namespace
Avalonia.Metadata
Base Types
  • object
  • Attribute
graph BT Type-->Base0["Attribute"] Base0-->Base1["object"] Type["XmlnsDefinitionAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class XmlnsDefinitionAttribute : Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
XmlnsDefinitionAttribute(string, string) Initializes a new instance of the XmlnsDefinitionAttribute class.

Properties

Name Value Summary
ClrNamespace string
Gets or sets the CLR namespace.
XmlNamespace string
Gets or sets the URL of the XML namespace.