XmlAttributeProperties 类

定义

封装 DependencyObject 的 XML 语言特定的特性。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
继承
XmlAttributeProperties

注解

XmlNamespaceMaps此类实现、 XmlnsDefinition、和XmlnsDictionary的附加属性支持。 XmlSpaceThis class implements attached property support for XmlNamespaceMaps, XmlnsDefinition, and XmlnsDictionary and XmlSpace.

这些属性通常仅供.NET Framework 3.0.NET Framework 3.0.NET Framework 3.5.NET Framework 3.5的 WPF XAML 分析器实现使用。These properties are generally only used by the WPF XAML parser implementation for .NET Framework 3.0.NET Framework 3.0 and .NET Framework 3.5.NET Framework 3.5. XAML 标记中实际的用户代码附加属性调用并不是主要方案。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.

字段

XmlNamespaceMapsProperty

标识 XmlNamespaceMaps 附加属性。Identifies the XmlNamespaceMaps attached property.

XmlnsDefinitionProperty

标识 XmlnsDefinition 附加属性。Identifies the XmlnsDefinition attached property.

XmlnsDictionaryProperty

标识 XmlnsDictionary 附加属性。Identifies the XmlnsDictionary attached property.

XmlSpaceProperty

标识 XmlSpace 附加属性。Identifies the XmlSpace attached property.

附加属性

XmlNamespaceMaps

获取或设置一个附加属性值,该附加属性值存储供适用于 .NET Framework 3.0 和 .NET Framework 3.5 的 WPF XAML 分析器使用的 XML 命名空间映射。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

获取或设置一个附加属性值,该附加属性值存储供适用于 .NET Framework 3.0 和 .NET Framework 3.5 的 WPF XAML 分析器使用的 xmlns 定义。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

获取或设置一个附加属性值,该附加属性值存储供适用于 .NET Framework 3.0 和 .NET Framework 3.5 的 WPF XAML 分析器使用的 xmlns 字典。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

获取或设置 xml:space 属性的映射值。Gets or sets the mapped value of the xml:space property.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetXmlNamespaceMaps(DependencyObject)

获取指定的 DependencyObjectXmlNamespaceMaps 附加属性的值。Gets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.

GetXmlnsDefinition(DependencyObject)

获取指定的 DependencyObjectXmlnsDefinition 附加属性的值。Gets the value of the XmlnsDefinition attached property of the specified DependencyObject.

GetXmlnsDictionary(DependencyObject)

获取指定的 DependencyObjectXmlnsDictionary 附加属性的值。Gets the value of the XmlnsDictionary attached property of the specified DependencyObject.

GetXmlSpace(DependencyObject)

获取指定的 DependencyObjectXmlSpace 附加属性的值。Gets the value of the XmlSpace attached property of the specified DependencyObject.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SetXmlNamespaceMaps(DependencyObject, String)

设置指定的 XmlNamespaceMapsDependencyObject 附加属性的值。Sets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.

SetXmlnsDefinition(DependencyObject, String)

设置指定的 XmlnsDefinitionDependencyObject 附加属性的值。Sets the value of the XmlnsDefinition attached property of the specified DependencyObject.

SetXmlnsDictionary(DependencyObject, XmlnsDictionary)

设置指定的 XmlnsDictionaryDependencyObject 附加属性的值。Sets the value of the XmlnsDictionary attached property of the specified DependencyObject.

SetXmlSpace(DependencyObject, String)

设置指定的 XmlSpaceDependencyObject 附加属性的值。Sets the value of the XmlSpace attached property of the specified DependencyObject.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于