Processes XAML in optimized BAML form and produces a XAML node stream.
Assembly: PresentationFramework (in PresentationFramework.dll)
Initializes a new instance of theclass based on an input stream.
Initializes a new instance of theclass based on an input stream and reader settings.
Initializes a new instance of theclass, based on the file name of a local file to read.
Gets a value that reports whether the reader position is at the end of file.(Overrides XamlReader.IsEof.)
Gets the XAML namespace from the current node.(Overrides XamlReader.Namespace.)
Gets the type of the current node.(Overrides XamlReader.NodeType.)
Gets an object that provides schema context information for the information set.(Overrides XamlReader.SchemaContext.)
Gets the value of the current node.(Overrides XamlReader.Value.)
Closes the XAML node stream.(Inherited from XamlReader.)
Releases the unmanaged resources used by the XamlReader.Dispose(Boolean).)and optionally releases the managed resources. (Overrides
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Provides the next XAML node from the source BAML, if a node is available. (Overrides XamlReader.Read().)
Skips the current node and advances the reader position to the next node.(Inherited from XamlReader.)
Returns a string that represents the current object.(Inherited from Object.)
BAML form is an optimized form of XAML used by the WPF XAML implementation. It is optimized in the sense that it uses internal lookups and tokens for commonly used types or members. The optimization is useful as an implementation detail that addresses packaging size and load time for WPF application scenarios that involve XAML. Thereader class constitutes much of the public API surface that a WPF application developer has for interacting with BAML.
The XAML optimized to BAML form may need to be localized. Localization of XAML and possible tools pathways for doing so is not discussed in this topic. See Globalization for WPF.
uses an internally implemented XAML schema context. This schema context provides the logic necessary for looking up the types in BAML form, including referencing the optimizations and tokens that are inherent in BAML.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.