XamlObjectWriterSettings.SkipProvideValueOnRoot Property
Definition
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 indicates whether the XamlObjectWriter should omit to call ProvideValue
on a markup extension, which is relevant when the markup extension represents the root of an object graph.
public:
property bool SkipProvideValueOnRoot { bool get(); void set(bool value); };
public bool SkipProvideValueOnRoot { get; set; }
member this.SkipProvideValueOnRoot : bool with get, set
Public Property SkipProvideValueOnRoot As Boolean
Property Value
true
if the XamlObjectWriter should omit to call ProvideValue
on a markup extension; otherwise, false
.
Remarks
This setting is used when the XamlObjectWriter processes the root node (WriteEndObject, or members within the root node). This property is relevant for template and defer-load scenarios.