Gets or sets a value that determines whether the reader should differ from the default XamlXmlReader behavior of how markup compatibility content is processed.
Assembly: System.Xaml (in System.Xaml.dll)
Property ValueType: System.Boolean
true if the initiating reader is directly used, which means that XML compatibility markup is processed as part of the main stream and compatibility is not considered. false if the default behavior is used, which processes XML compatibility separately. The default is false.
The default handling behavior for XML markup compatibility in XamlXmlReader is that the XamlXmlReader, as provided for initialization, is wrapped in a created internal helper class. This helper class reads the markup compatibility nodes separately and enters into the nodes based on markup compatibility of the schema context.
Suggested scenarios for setting to true are:
You want to keep any markup compatibility content in the primary XAML stream.
You have already processed the markup compatibility because you are using a reader that can process markup compatibility content inline.
You choose to ignore XML compatibility conventions in your XAML reader implementation for reasons of performance.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.