Export (0) Print
Expand All

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.)
Public methodGetHashCodeServes as the default hash function. (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.
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.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft