XmlAttributeProperties Class

Encapsulates the XML language-related attributes of a DependencyObject.

System.Object
  System.Windows.Markup.XmlAttributeProperties

Namespace:  System.Windows.Markup
Assembly:  PresentationFramework (in PresentationFramework.dll)

public sealed class XmlAttributeProperties

The XmlAttributeProperties type exposes the following members.

  NameDescription
Public attached propertyXmlNamespaceMapsGets 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.
Public attached propertyXmlnsDefinitionGets 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.
Public attached propertyXmlnsDictionaryGets 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.
Public attached propertyXmlSpaceGets or sets the mapped value of the xml:space property.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberGetXmlNamespaceMapsGets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.
Public methodStatic memberGetXmlnsDefinitionGets the value of the XmlnsDefinition attached property of the specified DependencyObject.
Public methodStatic memberGetXmlnsDictionaryGets the value of the XmlnsDictionary attached property of the specified DependencyObject.
Public methodStatic memberGetXmlSpaceGets the value of the XmlSpace attached property of the specified DependencyObject.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSetXmlNamespaceMapsSets the value of the XmlNamespaceMaps attached property of the specified DependencyObject.
Public methodStatic memberSetXmlnsDefinitionSets the value of the XmlnsDefinition attached property of the specified DependencyObject.
Public methodStatic memberSetXmlnsDictionarySets the value of the XmlnsDictionary attached property of the specified DependencyObject.
Public methodStatic memberSetXmlSpaceSets the value of the XmlSpace attached property of the specified DependencyObject.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberXmlNamespaceMapsPropertyIdentifies the XmlNamespaceMaps attached property.
Public fieldStatic memberXmlnsDefinitionPropertyIdentifies the XmlnsDefinition attached property.
Public fieldStatic memberXmlnsDictionaryPropertyIdentifies the XmlnsDictionary attached property.
Public fieldStatic memberXmlSpacePropertyIdentifies the XmlSpace attached property.
Top

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.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft