DesignTimeXamlWriter Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the functionality to serialize run-time objects into underlying XAML code. This adds capability to a XamlWriter stack so that an ActivitySchemaType can be serialized to Xaml as a type definition of a subclass of Activity.

The DesignTimeXamlWriter type exposes the following members.

Constructors

  Name Description
Public method DesignTimeXamlWriter Creates a new instance of the DesignTimeXamlWriter class with the specified text writer, XAML schema context, class name, and class namespace.

Top

Methods

  Name Description
Protected method CheckSettingSchemaContext A utility method that checks whether a schema context already exists as a value. (Inherited from XamlWriter.)
Public method Close Closes the XAML writer object. (Inherited from XamlWriter.)
Protected method Dispose Represents a value that indicates whether the XAML writer is releasing the memory resources it has been using so that they are no longer accessible and are set for garbage collection. (Overrides XamlXmlWriter.Dispose(Boolean).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Calls the Flush method of the underlying XmlWriter or TextWriter, which outputs anything currently in the buffer but then closes the writer. (Inherited from XamlXmlWriter.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method WriteEndMember Finishes the creation of a XAML element and pops out of the corresponding namespace scope. (Overrides XamlXmlWriter.WriteEndMember().)
Public method WriteEndObject Writes an end element object to the XAML document or stream. (Overrides XamlXmlWriter.WriteEndObject().)
Public method WriteGetObject Retrieves an object from memory and writes it to the XAML document or stream. (Overrides XamlXmlWriter.WriteGetObject().)
Public method WriteNamespace Creates and stores a XAML root-node namespace declaration that is put together during run time. (Overrides XamlXmlWriter.WriteNamespace(NamespaceDeclaration).)
Public method WriteNode Performs switching based on node type from the XAML reader (XamlReader.NodeType) and calls the relevant Write method for the writer implementation. (Inherited from XamlWriter.)
Public method WriteStartMember Creates and stores the starting XAML element with the specified property. (Overrides XamlXmlWriter.WriteStartMember(XamlMemberBase).)
Public method WriteStartObject Writes the starting element object to the underlying XAML document or stream. (Overrides XamlXmlWriter.WriteStartObject(XamlType).)
Public method WriteValue Generates a XAML property from the specified name object. (Overrides XamlXmlWriter.WriteValue(Object).)

Top

Properties

  Name Description
Public property ClassName Gets the namespace that is generated to store property values.
Public property ClassNamespace Gets assemblies to include at the XAML root node.
Protected property IsDisposed Gets whether Dispose has been called. (Inherited from XamlWriter.)
Public property SchemaContext Gets the schema context that this XamlXmlWriter uses for processing. (Inherited from XamlXmlWriter.)
Public property Settings Gets the settings for the circumstances that are in effect when creating a XAML writer object.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. See Dispose. (Inherited from XamlWriter.)

Top

See Also

Reference

DesignTimeXamlWriter Class

System.Activities.Design.Xaml Namespace