Redigera

Dela via


XamlReaderSettings Class

Definition

Specifies processing rules or option settings for a XamlReader implementation.

public ref class XamlReaderSettings
public class XamlReaderSettings
type XamlReaderSettings = class
Public Class XamlReaderSettings
Inheritance
XamlReaderSettings
Derived

Remarks

By default, an initialized XamlReaderSettings object uses values for its properties that correspond to expected defaults, such as false for Boolean properties or null values for reference-type properties. Default initialization results in the following values:

Constructors

XamlReaderSettings()

Initializes a new instance of the XamlReaderSettings class.

XamlReaderSettings(XamlReaderSettings)

Initializes a new instance of the XamlReaderSettings class based on values in another XamlReaderSettings object.

Properties

AllowProtectedMembersOnRoot

Gets or sets a value that indicates whether the root object may include members that have a protected code access model when it reports the XAML type representation.

BaseUri

Gets or sets the base URI that is used to resolve relative paths.

IgnoreUidsOnPropertyElements

Gets or sets a value that specifies whether the XAML reader should ignore values for x:Uid attributes that exist on property elements.

LocalAssembly

Gets or sets the object that represents the current local assembly for processing. This assembly information is used for calls to helper APIs such as GetAllMembers().

ProvideLineInfo

Gets or sets a value that specifies whether the reader can provide line number and position.

ValuesMustBeString

Gets or sets a value that specifies whether the reader enforces that all Value nodes are processed as a String type.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to