XamlObjectWriterSettings Class

.NET Framework (current version)
 

Provides specific XAML writer settings for XamlObjectWriter.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.Xaml.XamlWriterSettings
    System.Xaml.XamlObjectWriterSettings

Public Class XamlObjectWriterSettings
	Inherits XamlWriterSettings

NameDescription
System_CAPS_pubmethodXamlObjectWriterSettings()

Initializes a new instance of the XamlObjectWriterSettings class.

System_CAPS_pubmethodXamlObjectWriterSettings(XamlObjectWriterSettings)

Initializes a new instance of the XamlObjectWriterSettings class that is based on the copy of an existing instance.

NameDescription
System_CAPS_pubpropertyAccessLevel

Gets or sets XamlAccessLevel permissions that the XAML writer observes.

System_CAPS_pubpropertyAfterBeginInitHandler

Gets or sets a reference to a callback that is invoked by the XAML writer at the BeginInit phase of the object lifetime for each created object.

System_CAPS_pubpropertyAfterEndInitHandler

Gets or sets a reference to a callback that is invoked by the XAML writer at the EndInit phase of the object lifetime for each created object.

System_CAPS_pubpropertyAfterPropertiesHandler

Gets or sets a reference to a callback that is invoked by the XAML writer at the post-member-write phase of the object lifetime for each created object.

System_CAPS_pubpropertyBeforePropertiesHandler

Gets or sets a reference to a callback that is invoked by the XAML writer at the pre-member-write phase of the object lifetime for each created object.

System_CAPS_pubpropertyExternalNameScope

Gets or sets the XAML namescope to use for registering names from the XAML writer if RegisterNamesOnExternalNamescope is true.

System_CAPS_pubpropertyIgnoreCanConvert

Gets or sets a value that specifies whether the XAML writer should ignore (not call) CanConvertFrom implementations on a TypeConverter in type-converter situations.

System_CAPS_pubpropertyPreferUnconvertedDictionaryKeys

Gets or sets a value that determines whether to disable a default XamlObjectWriter feature that runs type conversion on the K component of a Dictionary(Of TKey, TValue) before writing the object graph representation.

System_CAPS_pubpropertyRegisterNamesOnExternalNamescope

Gets or sets a value that determines whether name registration should occur against the specified ExternalNameScope.

System_CAPS_pubpropertyRootObjectInstance

Gets or sets a preexisting root object for XamlObjectWriter operations.

System_CAPS_pubpropertySkipDuplicatePropertyCheck

Gets or sets a value that determines whether the XAML writer omits to check for the code path that checks for duplicate properties.

System_CAPS_pubpropertySkipProvideValueOnRoot

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.

System_CAPS_pubpropertySourceBamlUri

Used in the BeginInitHandler in place of the actual BaseUri.

System_CAPS_pubpropertyXamlSetValueHandler

Gets or sets the handler to use when the object writer calls into a CLR-implemented SetValue for dependency properties.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

A XamlObjectWriter can function within specified XamlObjectWriterSettings. Where settings are not specified, an instance of XamlObjectWriterSettings exists that has default values for a constructed XamlObjectWriter, and this instance can be used in merges of settings for a derived class.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: