Class XamlXmlWriter
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
A special XamlXmlWriter which fixes & and " in MarkupExtensions where not correctly handled.
public class XamlXmlWriter : XmlWriter, IDisposable
- Inheritance
-
XamlXmlWriter
- Implements
Constructors
- XamlXmlWriter(StringBuilder)
Initializes a new instance of the XamlXmlWriter class.
- XamlXmlWriter(StringBuilder, XmlWriterSettings)
Initializes a new instance of the XamlXmlWriter class.
Fields
Properties
- WriteState
When overridden in a derived class, gets the state of the writer.
Methods
- Close()
When overridden in a derived class, closes this stream and the underlying stream.
- Flush()
When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
- LookupPrefix(string)
When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI.
- WriteBase64(byte[], int, int)
When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text.
- WriteCData(string)
When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text.
- WriteCharEntity(char)
When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value.
- WriteChars(char[], int, int)
When overridden in a derived class, writes text one buffer at a time.
- WriteComment(string)
When overridden in a derived class, writes out a comment <!--...--> containing the specified text.
- WriteDocType(string, string, string, string)
When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes.
- WriteEndAttribute()
When overridden in a derived class, closes the previous WriteStartAttribute(string, string) call.
- WriteEndDocument()
When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.
- WriteEndElement()
When overridden in a derived class, closes one element and pops the corresponding namespace scope.
- WriteEntityRef(string)
When overridden in a derived class, writes out an entity reference as &name;.
- WriteFullEndElement()
When overridden in a derived class, closes one element and pops the corresponding namespace scope.
- WriteProcessingInstruction(string, string)
When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>.
- WriteRaw(char[], int, int)
When overridden in a derived class, writes raw markup manually from a character buffer.
- WriteRaw(string)
When overridden in a derived class, writes raw markup manually from a string.
- WriteStartAttribute(string, string, string)
When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.
- WriteStartDocument()
When overridden in a derived class, writes the XML declaration with the version "1.0".
- WriteStartDocument(bool)
When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute.
- WriteStartElement(string, string, string)
When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix.
- WriteString(string)
When overridden in a derived class, writes the given text content.
- WriteSurrogateCharEntity(char, char)
When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair.
- WriteWhitespace(string)
When overridden in a derived class, writes out the given white space.