New to Telerik UI for WinFormsStart a free 30-day trial

Instances of this type are used by ComponentXmlSerializer to provide information used to control XML of properties and sub-objects.

Definition

Namespace:Telerik.WinControls.XmlSerialization

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class ComponentXmlSerializationInfo

Inheritance: objectComponentXmlSerializationInfo

Derived Classes: ControlXmlSerializationInfo

Constructors

Initializes a new instance of the ComponentXmlSerializationInfo class.

C#
public ComponentXmlSerializationInfo(PropertySerializationMetadataCollection serializationMetadata)
Parameters:serializationMetadataPropertySerializationMetadataCollection

A collection of attributes for properties that would override the original designer serialization metadata for these properties

Properties

Gets or sets value indicating whether the serializer will use the serialization visibility attributes of the properties of the serialized objects or only those found in SerializationMetadata

C#
public bool DisregardOriginalSerializationVisibility { get; set; }

Gets a collection of attributes for properties that would override the original designer serialization metadata for these properties

C#
public PropertySerializationMetadataCollection SerializationMetadata { get; }

Gets or sets value indicating whether the serializer will force serialization of properties, disregarding the values of the DefaultValue attribute or ShouldSerialize method

C#
public bool SerializeDefaultValues { get; set; }