Summary
Use to predefine the prefix associated to an xml namespace in a xaml file
- Namespace
- Avalonia
.Metadata - Base Types
-
- object
- Attribute
graph BT
Type-->Base0["Attribute"]
Base0-->Base1["object"]
Type["XmlnsPrefixAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class XmlnsPrefixAttribute : Attribute
Remarks
example:
[assembly: XmlnsPrefix("https://github.com/avaloniaui", "av")]
xaml:
xmlns:av="https://github.com/avaloniaui"
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
XmlnsPrefixAttribute |
Constructor |
Properties
Name | Value | Summary |
---|---|---|
Prefix | string |
New Xml Namespace
|
XmlNamespace | string |
XML Namespace
|