XamlXmlReaderSettings.SkipXmlCompatibilityProcessing Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines whether the reader should differ from the default XamlXmlReader behavior of how markup compatibility content is processed.
public:
property bool SkipXmlCompatibilityProcessing { bool get(); void set(bool value); };
public bool SkipXmlCompatibilityProcessing { get; set; }
member this.SkipXmlCompatibilityProcessing : bool with get, set
Public Property SkipXmlCompatibilityProcessing As 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 SkipXmlCompatibilityProcessing 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.
Produkt | Versjoner |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: