Class SvgAttributeAttribute
- Namespace
- Svg
- Assembly
- Svg.dll
Specifies the SVG attribute name of the associated property.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Event)]
public class SvgAttributeAttribute : Attribute
- Inheritance
-
SvgAttributeAttribute
- Inherited Members
Constructors
SvgAttributeAttribute(string, string)
Initializes a new instance of the SvgAttributeAttribute class with the specified SVG attribute name and namespace.
public SvgAttributeAttribute(string name, string nameSpace)
Parameters
name
stringThe name of the SVG attribute.
nameSpace
stringThe namespace of the SVG attribute (e.g. http://www.w3.org/2000/svg).
Fields
XLinkNamespace
public const string XLinkNamespace = "http://www.w3.org/1999/xlink"
Field Value
XmlNamespace
public const string XmlNamespace = "http://www.w3.org/XML/1998/namespace"
Field Value
Properties
Name
Gets the name of the SVG attribute.
public string Name { get; }
Property Value
NameSpace
Gets the namespace of the SVG attribute.
public string NameSpace { get; }
Property Value
Methods
Equals(object)
Returns a value that indicates whether this instance is equal to a specified object.
public override bool Equals(object obj)
Parameters
Returns
- bool
true if
obj
and this instance are of the same type and have identical field values; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer hash code.