Redigera

Dela via


XamlObjectWriterSettings.SkipProvideValueOnRoot Property

Definition

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.

Applies to