This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
public ref class Baml2006Reader : System::Xaml::XamlReader, System::Xaml::IXamlLineInfo
public class Baml2006Reader : System.Xaml.XamlReader, System.Xaml.IXamlLineInfo
type Baml2006Reader = class
inherit XamlReader
interface IXamlLineInfo
Public Class Baml2006Reader
Inherits XamlReader
Implements IXamlLineInfo
Inheritance
Baml2006Reader
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. The
Baml2006Reader
reader 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
.
Baml2006Reader
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.
The main scenario for
Baml2006Reader
is to use it as the
XamlReader
implementation that you pass to a call to
XamlReader.Load
.
Returns a
XamlReader
that is based on the current
XamlReader
, where the returned
XamlReader
is used to iterate through a subtree of the XAML node structure.
(Inherited from
XamlReader
)
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:
https://aka.ms/ContentUserFeedback
.
Submit and view feedback for
This product