Editare

Partajați prin


XmlAttributeProperties Class

Definition

Encapsulates the XML language-related attributes of a DependencyObject.

public ref class XmlAttributeProperties sealed
public sealed class XmlAttributeProperties
type XmlAttributeProperties = class
Public NotInheritable Class XmlAttributeProperties
Inheritance
XmlAttributeProperties

Remarks

This class implements attached property support for XmlNamespaceMaps, XmlnsDefinition, and XmlnsDictionary and XmlSpace.

These properties are generally only used by the WPF XAML parser implementation for .NET Framework 3.0 and .NET Framework 3.5. Actual user code attached property calls from XAML markup is not the primary scenario. The properties are implemented as attached properties primarily so that the properties can better support the property inheritance concept for dependency properties through all possible object graphs. As such, this is really an infrastructure support class. For more information, see Property Value Inheritance.

Fields

XmlNamespaceMapsProperty

Identifies the XmlNamespaceMaps attached property.

XmlnsDefinitionProperty

Identifies the XmlnsDefinition attached property.

XmlnsDictionaryProperty

Identifies the XmlnsDictionary attached property.

XmlSpaceProperty

Identifies the XmlSpace attached property.

Attached Properties

XmlNamespaceMaps

Gets or sets an attached property value that stores XML namespace maps for use by the WPF XAML parser for .NET Framework 3.0 and .NET Framework 3.5.

XmlnsDefinition

Gets or sets the attached property value that stores xmlns definitions for use by the WPF XAML parser for .NET Framework 3.0 and .NET Framework 3.5.

XmlnsDictionary

Gets or sets the attached property value that stores xmlns dictionaries for use by the WPF XAML parser for .NET Framework 3.0 and .NET Framework 3.5.

XmlSpace

Gets or sets the mapped value of the xml:space property.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetXmlNamespaceMaps(DependencyObject)

Gets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.

GetXmlnsDefinition(DependencyObject)

Gets the value of the XmlnsDefinition attached property of the specified DependencyObject.

GetXmlnsDictionary(DependencyObject)

Gets the value of the XmlnsDictionary attached property of the specified DependencyObject.

GetXmlSpace(DependencyObject)

Gets the value of the XmlSpace attached property of the specified DependencyObject.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetXmlNamespaceMaps(DependencyObject, Hashtable)
SetXmlNamespaceMaps(DependencyObject, String)

Sets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.

SetXmlnsDefinition(DependencyObject, String)

Sets the value of the XmlnsDefinition attached property of the specified DependencyObject.

SetXmlnsDictionary(DependencyObject, XmlnsDictionary)

Sets the value of the XmlnsDictionary attached property of the specified DependencyObject.

SetXmlSpace(DependencyObject, String)

Sets the value of the XmlSpace attached property of the specified DependencyObject.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to