Class GridViewLayoutSerializer
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewLayoutSerializer : ComponentXmlSerializer
Constructors
GridViewLayoutSerializer(ComponentXmlSerializationInfo)
Initializes a new instance of the Grid
Declaration
public GridViewLayoutSerializer(ComponentXmlSerializationInfo componentSerializationInfo)
Parameters
Component The component serialization info. |
Methods
GetPropertyValue(PropertyDescriptor, Object)
Declaration
protected override object GetPropertyValue(PropertyDescriptor property, object propertyOwner)
Parameters
System.
|
System.
|
Returns
System.
|
Overrides
MatchObjectElement(XmlReader, Object, PropertyDescriptor, IList, String, IList, out Int32)
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.
Declaration
protected override object MatchObjectElement(XmlReader reader, object parent, PropertyDescriptor parentProperty, IList toRead, string propertyToMatch, IList existingInstancesToMatch, out int foundAtIndex)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
System. the list with existing instances |
System. index of the element if found in existingInstanceToMatch |
Returns
System.
|
Overrides
ProcessListOverride(XmlReader, Object, PropertyDescriptor, IList)
Override to provide custom processing of collection being deserialized
Declaration
protected override bool ProcessListOverride(XmlReader reader, object listOwner, PropertyDescriptor ownerProperty, IList list)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System. True if the list does not require further processing by the deserializer, False to use the default deserialization |
Overrides
ProcessProperty(PropertyDescriptor)
Processes the property.
Declaration
protected override bool ProcessProperty(PropertyDescriptor property)
Parameters
System. The property. |
Returns
System.
|
Overrides
ProcessReaderAttribute(XmlReader, Object, Object, PropertyDescriptor)
Declaration
protected override bool ProcessReaderAttribute(XmlReader reader, object parentObject, object toRead, PropertyDescriptor property)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
Overrides
ReadElementInObject(XmlReader, PropertyDescriptor, Object)
Deserializes a specified property of an object
Declaration
protected override void ReadElementInObject(XmlReader reader, PropertyDescriptor property, object toRead)
Parameters
System. Xml reader, positioned on the element corresponding to the property to deserialize |
System. Property descriptor of the property to deserialize |
System. Object that owns the property to deserialize |
Overrides
ReadObjectElementOverride(XmlReader, Object)
Override to provide alternative deserialization of objects.
Declaration
protected override bool ReadObjectElementOverride(XmlReader reader, object toRead)
Parameters
System.
|
System.
|
Returns
System. value indicating whether the object should be processed any further by serializer |