Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewLayoutSerializer : ComponentXmlSerializer
Inheritance: objectComponentXmlSerializerGridViewLayoutSerializer
Inherited Members
Constructors
Initializes a new instance of the GridViewLayoutSerializer class.
public GridViewLayoutSerializer(ComponentXmlSerializationInfo componentSerializationInfo)
The component serialization info.
Methods
protected override object GetPropertyValue(PropertyDescriptor property, object propertyOwner)
Overrides:
Matches the instance of the element by an attribute value and then deserializes its properties. If the instance is not found in existingInstancesToMatch, new instance of type instanceType will be created and added to existingInstancesToMatch list.
protected override object MatchObjectElement(XmlReader reader, object parent, PropertyDescriptor parentProperty, IList toRead, string propertyToMatch, IList existingInstancesToMatch, out int foundAtIndex)
the list with existing instances
foundAtIndexintindex of the element if found in existingInstanceToMatch
Returns:Overrides:
Override to provide custom processing of collection being deserialized
protected override bool ProcessListOverride(XmlReader reader, object listOwner, PropertyDescriptor ownerProperty, IList list)
True if the list does not require further processing by the deserializer, False to use the default deserialization
Overrides:
Processes the property.
protected override bool ProcessProperty(PropertyDescriptor property)
The property.
Returns:Overrides:
Reads a property of an object and subobject the reader is currently positioned on.
protected override bool ProcessReaderAttribute(XmlReader reader, object parentObject, object toRead, PropertyDescriptor property)
Xml reader instance, positioned on the element to read.
parentObjectobjectThe parent object instance, null if there is no parent object information
toReadobjectThe object instance to be processed
propertyPropertyDescriptorThe property that is being processed. Extracted from reader.Name
Returns:A value indicating whether the attribute has been processed. If [true] the parent class will not process current property/attribute.
Overrides:
Deserializes a specified property of an object
protected override void ReadElementInObject(XmlReader reader, PropertyDescriptor property, object toRead)
Xml reader, positioned on the element corresponding to the property to deserialize
propertyPropertyDescriptorProperty descriptor of the property to deserialize
toReadobjectObject that owns the property to deserialize
Overrides: