Redigera

Dela via


XamlObjectReaderSettings.RequireExplicitContentVisibility Property

Definition

Gets or sets a value that determines whether writers that use the associated XamlObjectReader for context should use designer settings for writing content explicitly.

public:
 property bool RequireExplicitContentVisibility { bool get(); void set(bool value); };
public bool RequireExplicitContentVisibility { get; set; }
member this.RequireExplicitContentVisibility : bool with get, set
Public Property RequireExplicitContentVisibility As Boolean

Property Value

true to specify that writers that use this context should use designer settings for writing any output content in cases where IsWritePublic reports false; false if designer settings should be ignored.

Remarks

This setting is queried internally. It influences the following behavior for the context that a XamlObjectReader passes to any XamlWriter:

Applies to