The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
System.Windows.Markup Namespace
Visual Studio 2008
Provides types to support serialization and Extensible Application Markup Language (XAML) in Windows Presentation Foundation (WPF). In particular, contains classes to support XAML markup extensions and other language concepts that are defined by the XAML specification, reader/writer implementation classes, serializers, and attributes that report XAML characteristics to reflection-based analysis.
| Class | Description | |
|---|---|---|
![]() | AmbientAttribute | Specifies that a property should be treated as ambient. |
![]() | ArrayExtension | Implements x:Array support for the WPF XAML processor implementation. |
![]() | ComponentResourceKeyConverter | Converts a ComponentResourceKey object to and from other types. |
![]() | ConstructorArgumentAttribute | Specifies that the property that this attribute is assigned to can be initialized by using a nondefault constructor parameter of the specified name. This information is primarily for serialization. |
![]() | ContentPropertyAttribute | Specifies which property of a class to use as the content property when written as XAML. |
![]() | ContentWrapperAttribute | Specifies a type on the associated collection type that will be used to wrap foreign content. |
![]() | DateTimeValueSerializer | Converts instances of String to and from instances of DateTime. |
![]() | DependencyPropertyConverter | Converts a DependencyProperty object to and from other types. |
![]() | DependsOnAttribute | Specifies that the associated property is dependent on the value of another property. |
![]() | DesignerSerializationOptionsAttribute | Specifies the serialization flags for a property. |
![]() | DictionaryKeyPropertyAttribute | Specifies a property of the associated class implementation that provides the implicit key value, when the class is included as an item in an IDictionary collection. |
![]() | InternalTypeHelper | Abstract class used internally by the XAML compiler to support the use of internal types. |
![]() | MarkupExtension | Provides a base class for all XAML markup extensions. |
![]() | MarkupExtensionReturnTypeAttribute | Specifies the type that a markup extension can return. |
![]() | NameScopePropertyAttribute | Specifies a property of the associated class that provides the XAML namescope value. |
![]() | NamespaceMapEntry | Provides information the XamlTypeMapper uses for mapping between an XML namespace URI and the corresponding CLR namespace and the assembly it is in. |
![]() | NullExtension | Implements a XAML markup extension in order to return a null object, which you can use to explicitly set values to nullptr. |
![]() | ParserContext | Provides context information required by the Extensible Application Markup Language (XAML) parser. |
![]() | ResourceReferenceExpressionConverter | Do not use. This type supports the WPF infrastructure and is not intended to be used directly from your code. |
![]() | RootNamespaceAttribute | RootNamespaceAttribute is an assembly level attribute that is used to identify the value of the RootNamespace property in a project file. |
![]() | RoutedEventConverter | Converts a RoutedEvent object to and from other types. |
![]() | RuntimeNamePropertyAttribute | Specifies the property of a class that maps to the XAML x:Name attribute. |
![]() | ServiceProviders | Provides an implementation for the IServiceProvider interface with methods that enable adding services. |
![]() | StaticExtension | Implements a markup extension that returns static field and property references. |
![]() | TemplateKeyConverter | Converts a TemplateKey object to and from other types. |
![]() | TrimSurroundingWhitespaceAttribute | Specifies that the whitespace surrounding an element should be trimmed. |
![]() | TypeExtension | Implements a markup extension that returns a Type based on a string attribute input. |
![]() | UidPropertyAttribute | Specifies the property of the associated class that provides the x:Uid Attribute value. |
![]() | UsableDuringInitializationAttribute | Specifies whether this class is built top-down during XAML initialization. |
![]() | ValueSerializer | Abstract class to convert a type to and from a String. |
![]() | ValueSerializerAttribute | Specifies which ValueSerializer class to use for a particular type or overrides which ValueSerializer to use for a property. |
![]() | WhitespaceSignificantCollectionAttribute | Specifies that a collection considers whitespace to be significant. This class cannot be inherited. |
![]() | XamlDesignerSerializationManager | Provides services for serialization. |
![]() | XamlInstanceCreator | Abstract class that provides a means to store parser records for later instantiation. |
![]() | XamlParseException | Represents the exception class for parser-specific exceptions. |
![]() | XamlReader | Provides the means to parse XAML markup into an object or a tree of objects. |
![]() | XamlTypeMapper | Maps an XML name to the appropriate Type. |
![]() | XamlWriter | Provides a single static Save method (multiple signatures) that can be used for limited Extensible Application Markup Language (XAML) serialization of provided runtime objects into XAML. This class cannot be inherited, and only has static methods. |
![]() | XmlAttributeProperties | Encapsulates the XML specific attributes of a DependencyObject. |
![]() | XmlLangPropertyAttribute | Specifies the property to associate with the xml:lang Handling in XAML. |
![]() | XmlLanguage | Represents a language tag for use in XML and Extensible Application Markup Language (XAML) markup. |
![]() | XmlLanguageConverter | Provides type conversion for the XmlLanguage class. |
![]() | XmlnsCompatibleWithAttribute | Specifies that the namespace in a previously defined XmlnsDefinitionAttribute is overridden by a new namespace. |
![]() | XmlnsDefinitionAttribute | Specifies a mapping in an assembly between an XML namespace and a CLR namespace. This class cannot be inherited. |
![]() | XmlnsDictionary | Represents a dictionary that contains XML namespace mappings. |
![]() | XmlnsPrefixAttribute | Specifies a recommend prefix to associate with an XML namespace when writing elements and attributes in a XAML file. This class cannot be inherited. |
| Interface | Description | |
|---|---|---|
![]() | IAddChild | Provides a means to parse elements which permit child elements or text. |
![]() | IComponentConnector | Provides support for named XAML elements and for attaching event handlers to them. |
![]() | INameScope | Defines a contract for how names of elements should be accessed within a particular namescope, and how to enforce uniqueness of names within that scope. |
![]() | IProvideValueTarget | Reports object-property relationships for framework features such as binding on a dependency property. |
![]() | IReceiveMarkupExtension | Provides a mechanism whereby types can declare that they can receive an expression (or another class) from a markup extension, where the output is a different property type than the target property. |
![]() | IStyleConnector | Provides methods used internally by the markup parser to attach events and event setters on compiled content. |
![]() | IUriContext | Defines a base uniform resource identifier (URI). |
![]() | IValueSerializerContext | Defines a context that is provided to a ValueSerializer which can be used to specify special cases of serialization or different modes of serialization. |
![]() | IXamlTypeResolver | Provides services to help resolve XAML elements to the appropriate .NET type. |
| Enumeration | Description | |
|---|---|---|
![]() | DesignerSerializationOptions | Specifies how a property is to be serialized. |
![]() | XamlWriterMode | Specifies the XAML writer mode for values that are of type Expression. |
![]() | XamlWriterState | This type supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
Community Additions
Show:


