XmlnsDefinitionAttribute Class
Definition
Maps an XML namespace to a CLR namespace for use in XAML.
public class XmlnsDefinitionAttribute
Constructors
| Name | Description |
|---|---|
| XmlnsDefinitionAttribute | Initializes a new instance of the Avalonia.Metadata.XmlnsDefinitionAttribute class. |
XmlnsDefinitionAttribute Constructor
Initializes a new instance of the Avalonia.Metadata.XmlnsDefinitionAttribute class.
public XmlnsDefinitionAttribute(string xmlNamespace, string clrNamespace)
Parameters
xmlNamespace string
The URL of the XML namespace.
clrNamespace string
The CLR namespace.
Properties
| Name | Description |
|---|---|
| ClrNamespace | Gets or sets the CLR namespace. |
| XmlNamespace | Gets or sets the URL of the XML namespace. |
ClrNamespace Property
Gets or sets the CLR namespace.
public string ClrNamespace { get; set; }
XmlNamespace Property
Gets or sets the URL of the XML namespace.
public string XmlNamespace { get; set; }