XamlObjectWriterSettings Class
Provides specific XAML writer settings for XamlObjectWriter.
Assembly: System.Xaml (in System.Xaml.dll)
| Name | Description | |
|---|---|---|
![]() | XamlObjectWriterSettings() | Initializes a new instance of the XamlObjectWriterSettings class. |
![]() | XamlObjectWriterSettings(XamlObjectWriterSettings^) | Initializes a new instance of the XamlObjectWriterSettings class that is based on the copy of an existing instance. |
| Name | Description | |
|---|---|---|
![]() | AccessLevel | Gets or sets XamlAccessLevel permissions that the XAML writer observes. |
![]() | AfterBeginInitHandler | 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. |
![]() | AfterEndInitHandler | 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. |
![]() | AfterPropertiesHandler | 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. |
![]() | BeforePropertiesHandler | 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. |
![]() | ExternalNameScope | Gets or sets the XAML namescope to use for registering names from the XAML writer if RegisterNamesOnExternalNamescope is true. |
![]() | IgnoreCanConvert | Gets or sets a value that specifies whether the XAML writer should ignore (not call) CanConvertFrom implementations on a TypeConverter in type-converter situations. |
![]() | PreferUnconvertedDictionaryKeys | 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<TKey, TValue> before writing the object graph representation. |
![]() | RegisterNamesOnExternalNamescope | Gets or sets a value that determines whether name registration should occur against the specified ExternalNameScope. |
![]() | RootObjectInstance | Gets or sets a preexisting root object for XamlObjectWriter operations. |
![]() | SkipDuplicatePropertyCheck | Gets or sets a value that determines whether the XAML writer omits to check for the code path that checks for duplicate properties. |
![]() | SkipProvideValueOnRoot | 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. |
![]() | SourceBamlUri | Used in the BeginInitHandler in place of the actual BaseUri. |
![]() | XamlSetValueHandler | Gets or sets the handler to use when the object writer calls into a CLR-implemented SetValue for dependency properties. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | 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.
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.


