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 GridViewLayoutSerializer class.
Declaration
public GridViewLayoutSerializer(ComponentXmlSerializationInfo componentSerializationInfo)
Parameters
ComponentXmlSerializationInfo
componentSerializationInfo
The component serialization info. |
Methods
GetPropertyValue(PropertyDescriptor, Object)
Declaration
protected override object GetPropertyValue(PropertyDescriptor property, object propertyOwner)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
System.Object
propertyOwner
|
Returns
System.Object
|
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.Xml.XmlReader
reader
|
System.Object
parent
|
System.ComponentModel.PropertyDescriptor
parentProperty
|
System.Collections.IList
toRead
|
System.String
propertyToMatch
|
System.Collections.IList
existingInstancesToMatch
the list with existing instances |
System.Int32
foundAtIndex
index of the element if found in existingInstanceToMatch |
Returns
System.Object
|
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.Xml.XmlReader
reader
|
System.Object
listOwner
|
System.ComponentModel.PropertyDescriptor
ownerProperty
|
System.Collections.IList
list
|
Returns
System.Boolean
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.ComponentModel.PropertyDescriptor
property
The property. |
Returns
System.Boolean
|
Overrides
ProcessReaderAttribute(XmlReader, Object, Object, PropertyDescriptor)
Declaration
protected override bool ProcessReaderAttribute(XmlReader reader, object parentObject, object toRead, PropertyDescriptor property)
Parameters
System.Xml.XmlReader
reader
|
System.Object
parentObject
|
System.Object
toRead
|
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Boolean
|
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.XmlReader
reader
Xml reader, positioned on the element corresponding to the property to deserialize |
System.ComponentModel.PropertyDescriptor
property
Property descriptor of the property to deserialize |
System.Object
toRead
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.Xml.XmlReader
reader
|
System.Object
toRead
|
Returns
System.Boolean
value indicating whether the object should be processed any further by serializer |