Table of Contents

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 string

The name of the SVG attribute.

nameSpace string

The 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

string

XmlNamespace

public const string XmlNamespace = "http://www.w3.org/XML/1998/namespace"

Field Value

string

Properties

Name

Gets the name of the SVG attribute.

public string Name { get; }

Property Value

string

NameSpace

Gets the namespace of the SVG attribute.

public string NameSpace { get; }

Property Value

string

Methods

Equals(object)

Returns a value that indicates whether this instance is equal to a specified object.

public override bool Equals(object obj)

Parameters

obj object

An object to compare with this instance or null.

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.