Table of Contents

Class XmlnsDefinitionAttribute

Namespace
Avalonia.Metadata
Assembly
Avalonia.Base.dll

Maps an XML namespace to a CLR namespace for use in XAML.

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

Constructors

XmlnsDefinitionAttribute(string, string)

Initializes a new instance of the XmlnsDefinitionAttribute class.

public XmlnsDefinitionAttribute(string xmlNamespace, string clrNamespace)

Parameters

xmlNamespace string

The URL of the XML namespace.

clrNamespace string

The CLR namespace.

Properties

ClrNamespace

Gets or sets the CLR namespace.

public string ClrNamespace { get; }

Property Value

string

XmlNamespace

Gets or sets the URL of the XML namespace.

public string XmlNamespace { get; }

Property Value

string