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 | |
---|---|---|
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 | |
---|---|---|
CheckSettingSchemaContext | A utility method that checks whether a schema context already exists as a value. (Inherited from XamlWriter.) | |
Close | Closes the XAML writer object. (Inherited from XamlWriter.) | |
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).) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
WriteEndMember | Finishes the creation of a XAML element and pops out of the corresponding namespace scope. (Overrides XamlXmlWriter.WriteEndMember().) | |
WriteEndObject | Writes an end element object to the XAML document or stream. (Overrides XamlXmlWriter.WriteEndObject().) | |
WriteGetObject | Retrieves an object from memory and writes it to the XAML document or stream. (Overrides XamlXmlWriter.WriteGetObject().) | |
WriteNamespace | Creates and stores a XAML root-node namespace declaration that is put together during run time. (Overrides XamlXmlWriter.WriteNamespace(NamespaceDeclaration).) | |
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.) | |
WriteStartMember | Creates and stores the starting XAML element with the specified property. (Overrides XamlXmlWriter.WriteStartMember(XamlMemberBase).) | |
WriteStartObject | Writes the starting element object to the underlying XAML document or stream. (Overrides XamlXmlWriter.WriteStartObject(XamlType).) | |
WriteValue | Generates a XAML property from the specified name object. (Overrides XamlXmlWriter.WriteValue(Object).) |
Top
Properties
Name | Description | |
---|---|---|
ClassName | Gets the namespace that is generated to store property values. | |
ClassNamespace | Gets assemblies to include at the XAML root node. | |
IsDisposed | Gets whether Dispose has been called. (Inherited from XamlWriter.) | |
SchemaContext | Gets the schema context that this XamlXmlWriter uses for processing. (Inherited from XamlXmlWriter.) | |
Settings | Gets the settings for the circumstances that are in effect when creating a XAML writer object. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Infrastructure. See Dispose. (Inherited from XamlWriter.) |
Top