Export (0) Print
Expand All

XamlObjectWriterSettings Class

Provides specific XAML writer settings for XamlObjectWriter.

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

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

public ref class XamlObjectWriterSettings : public XamlWriterSettings

The XamlObjectWriterSettings type exposes the following members.

  NameDescription
Public methodXamlObjectWriterSettings()Initializes a new instance of the XamlObjectWriterSettings class.
Public methodXamlObjectWriterSettings(XamlObjectWriterSettings)Initializes a new instance of the XamlObjectWriterSettings class that is based on the copy of an existing instance.
Top

  NameDescription
Public propertyAccessLevelGets or sets XamlAccessLevel permissions that the XAML writer observes.
Public propertyAfterBeginInitHandlerGets 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.
Public propertyAfterEndInitHandlerGets 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.
Public propertyAfterPropertiesHandlerGets 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.
Public propertyBeforePropertiesHandlerGets 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.
Public propertyExternalNameScopeGets or sets the XAML namescope to use for registering names from the XAML writer if RegisterNamesOnExternalNamescope is true.
Public propertyIgnoreCanConvertGets or sets a value that specifies whether the XAML writer should ignore (not call) CanConvertFrom implementations on a TypeConverter in type-converter situations.
Public propertyPreferUnconvertedDictionaryKeysGets or sets a value that determines whether to disable a default XamlObjectWriter feature that runs type conversion on the K component of a Dictionary<TKey, TValue> before writing the object graph representation.
Public propertyRegisterNamesOnExternalNamescopeGets or sets a value that determines whether name registration should occur against the specified ExternalNameScope.
Public propertyRootObjectInstanceGets or sets a preexisting root object for XamlObjectWriter operations.
Public propertySkipDuplicatePropertyCheckGets or sets a value that determines whether the XAML writer omits to check for the code path that checks for duplicate properties.
Public propertySkipProvideValueOnRootGets 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 propertyXamlSetValueHandlerGets or sets the handler to use when the object writer calls into a CLR-implemented SetValue for dependency properties.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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