Export (0) Print
Expand All
Expand Minimize

System.Windows.Markup Namespace

Provides types to support XAML. Some of these types are located in WPF assemblies and are specific to WPF scenarios that involve XAML. Other types in this namespace provide support for .NET Framework XAML Services in general, and do not require referencing WPF assemblies.

  Class Description
Public class AcceptedMarkupExtensionExpressionTypeAttribute Obsolete. Notates types for legacy reporting of XAML markup extension characteristics.
Public class AmbientAttribute Specifies that a property or type should be treated as ambient. The ambient concept relates to how XAML processors determine type owners of members.
Public class ArrayExtension Implements x:Array support for .NET Framework XAML Services
Public class ComponentResourceKeyConverter Infrastructure. Implements a type converter for ComponentResourceKey objects, which deliberately have no type conversion pathways. The type converter enforces and reports that behavior.
Public class ConstructorArgumentAttribute Specifies that an object can be initialized by using a non-default constructor syntax, and that a property of the specified name supplies construction information. This information is primarily for XAML serialization.
Public class ContentPropertyAttribute Indicates which property of a type is the XAML content property. A XAML processor uses this information when processing XAML child elements of XAML representations of the attributed type.
Public class ContentWrapperAttribute Specifies one or more types on the associated collection type that will be used to wrap foreign content.
Public class DateTimeValueSerializer Converts instances of String to and from instances of DateTime.
Public class DependencyPropertyConverter Converts from a string to a DependencyProperty object.
Public class DependsOnAttribute Indicates that the attributed property is dependent on the value of another property.
Public class DesignerSerializationOptionsAttribute Specifies the serialization flags for a property.
Public class DictionaryKeyPropertyAttribute Specifies a property of the associated class that provides the implicit key value. Implicit keys are used for keys rather than explicit x:Key attributes defined in XAML for an item in IDictionary collections.
Public class EventSetterHandlerConverter Converts the string name of an event setter handler to a delegate representation.
Public class InternalTypeHelper Abstract class used internally by the WPF XAML compiler to support the use of internal types.
Public class MarkupExtension Provides a base class for XAML markup extension implementations that can be supported by .NET Framework XAML Services and other XAML readers and XAML writers.
Public class MarkupExtensionReturnTypeAttribute Reports the type that a markup extension can return.
Public class MemberDefinition Provides the base class that is used for a markup technique of defining members of a class in declarative XAML.
Public class NameReferenceConverter Provides type conversion to convert a string name into an object reference to the object with that name, or to return the name of an object from the object graph.
Public class NameScopePropertyAttribute Specifies a property of the associated class that provides the XAML namescope value.
Public class NamespaceMapEntry Provides information that the XamlTypeMapper uses for mapping between an XML namespace, a CLR namespace, and the assembly that contains the relevant types for that CLR namespace.
Public class NullExtension Implements a XAML markup extension in order to return a null object, which you can use to explicitly set values to null in XAML.
Public class ParserContext Provides context information required by a XAML parser.
Public class PropertyDefinition Supports a markup technique of defining properties of a class in declarative XAML.
Public class Reference Implements the {x:Reference} markup extension.
Public class ResourceReferenceExpressionConverter Infrastructure. Converts instances of ResourceReferenceExpression to and from other types.
Public class RootNamespaceAttribute Represents an assembly level attribute that is used to identify the value of the RootNamespace property in a Visual Studio project file.
Public class RoutedEventConverter Converts a RoutedEvent object from a string.
Public class RuntimeNamePropertyAttribute Represents a type-level attribute that reports which property of the type maps to the XAML x:Name attribute.
Public class ServiceProviders Provides an implementation for the IServiceProvider interface with methods that enable adding services.
Public class SetterTriggerConditionValueConverter Provides type conversion analogous behavior for Setter, Trigger and Condition types that deal with DependencyProperty values. This converter only supports ConvertFrom.
Public class StaticExtension Implements a markup extension that returns static field and property references.
Public class TemplateKeyConverter Implements a type converter for TemplateKey objects, which deliberately have no type conversion pathways. The type converter enforces and reports that behavior.
Public class TrimSurroundingWhitespaceAttribute Indicates to XAML processors that the whitespace surrounding elements of the type in markup should be trimmed when serializing.
Public class TypeExtension Implements a markup extension that returns a Type based on a string input.
Public class UidPropertyAttribute Indicates the CLR property of a class that provides the x:Uid Directive value.
Public class UsableDuringInitializationAttribute Indicates whether this type is built top-down during XAML object graph creation.
Public class ValueSerializer Abstract class that defines conversion behavior for serialization from an object representation.
Public class ValueSerializerAttribute Identifies the ValueSerializer class that a type or property should use when it is serialized.
Public class WhitespaceSignificantCollectionAttribute Indicates that a collection type should be processed as being whitespace significant by a XAML processor.
Public class XamlDeferLoadAttribute Indicates that a class or property has a deferred load usage for XAML (such as a template behavior), and reports the class that enables the deferring behavior and its destination/content type.
Public class XamlDesignerSerializationManager Provides services for XAML serialization by XAML designers or other callers that require advanced serialization.
Public class XamlInstanceCreator Infrastructure. Abstract class that provides a means to store parser records for later instantiation.
Public class XamlParseException Represents the exception class for parser-specific exceptions from a WPF XAML parser. This exception is used in XAML API or WPF XAML parser operations from .NET Framework 3.0 and .NET Framework 3.5, or for specific use of the WPF XAML parser by calling System.Windows.Markup.XamlReader API.
Public class XamlReader Reads XAML input and creates an object graph, using the WPF default XAML reader and an associated XAML object writer.
Public class XamlSetMarkupExtensionAttribute Indicates that a class can use a markup extension to provide a value, and references a handler to use for markup extension set operations.
Public class XamlSetMarkupExtensionEventArgs Provides data for callbacks that are invoked when a XAML object writer sets a value using a markup extension.
Public class XamlSetTypeConverterAttribute Indicates that a class can use a type converter to provide a value, and references a handler to use for type converter setting cases.
Public class XamlSetTypeConverterEventArgs Provides data for callbacks that are invoked when a XAML writer sets a value using a type converter call.
Public class XamlSetValueEventArgs Provides data for callbacks that are invoked when a XamlObjectWriter sets certain values.
Public class XamlTypeMapper Maps a XAML element name to the appropriate CLR Type in assemblies.
Public class XamlWriter Provides a single static Save method (multiple overloads) that can be used for limited XAML serialization of provided run-time objects into XAML markup.
Public class XData Represents literal data that can appear as the value for a Value node.
Public class XmlAttributeProperties Encapsulates the XML language-related attributes of a DependencyObject.
Public class XmlLangPropertyAttribute Identifies the property to associate with the xml:lang attribute.
Public class XmlLanguage Represents a language tag for use in XAML markup.
Public class XmlLanguageConverter Provides type conversion for the XmlLanguage class.
Public class XmlnsCompatibleWithAttribute Specifies that a XAML namespace can be subsumed by another XAML namespace. Typically, the subsuming XAML namespace is indicated in a previously defined XmlnsDefinitionAttribute.
Public class XmlnsDefinitionAttribute Specifies a mapping on a per-assembly basis between a XAML namespace and a CLR namespace, which is then used for type resolution by a XAML object writer or XAML schema context.
Public class XmlnsDictionary Represents a dictionary that contains xmlns mappings for XAML namespaces in WPF.
Public class XmlnsPrefixAttribute Identifies a recommended prefix to associate with a XAML namespace for XAML usage, when writing elements and attributes in a XAML file (serialization) or when interacting with a design environment that has XAML editing features.

  Interface Description
Public interface IAddChild Provides a means to parse elements that permit mixtures of child elements or text.
Public interface IComponentConnector Provides markup compile and tools support for named XAML elements and for attaching event handlers to them.
Public interface INameScope Defines a contract for how names of elements should be accessed within a particular XAML namescope, and how to enforce uniqueness of names within that XAML namescope.
Public interface INameScopeDictionary Unifies enumerable, collection, and dictionary support that are useful for exposing a dictionary of names in a XAML namescope.
Public interface IProvideValueTarget Represents a service that reports situational object-property relationships for markup extension evaluation.
Public interface IQueryAmbient Queries for whether a specified property should be treated as ambient in the current scope.
Public interface IReceiveMarkupExtension Obsolete. 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. Do not use for .NET Framework 4 implementations; see Remarks.
Public interface IStyleConnector Provides methods used internally by the WPF XAML parser to attach events and event setters in compiled XAML.
Public interface IUriContext Represents a service that can use application context to resolve a provided relative URI to an absolute URI.
Public interface IValueSerializerContext Defines a context that is provided to a ValueSerializer. The context can be used to enable special cases of serialization or different modes of serialization.
Public interface IXamlTypeResolver Represents a service that resolves from named elements in XAML markup to the appropriate CLR type.

  Enumeration Description
Public enumeration DesignerSerializationOptions Specifies how a property is to be serialized.
Public enumeration XamlWriterMode Specifies the XAML writer mode for serializing values that are expressions (such as binding declarations).
Public enumeration XamlWriterState Describes possible writing states for a custom XAML writer.
Show:
© 2014 Microsoft