Class VirtualKeyboardXmlSerializer
Serializes the Rad
Inherited Members
Namespace: Telerik.WinControls.VirtualKeyboard
Assembly: Telerik.WinControls.UI.dll
Syntax
public class VirtualKeyboardXmlSerializer : ComponentXmlSerializer
Constructors
VirtualKeyboardXmlSerializer(RadVirtualKeyboard, ComponentXmlSerializationInfo)
Constructs new instance of the class, providing extended properties serialization information
Declaration
public VirtualKeyboardXmlSerializer(RadVirtualKeyboard virtualKeyboard, ComponentXmlSerializationInfo componentSerializationInfo)
Parameters
Rad The serialization component. |
Component Extends the properties serialization information. |
Methods
ChangeSerializedElementType(Type)
Used to change the element type of Virtual
Declaration
protected virtual Type ChangeSerializedElementType(Type elementType)
Parameters
System. The type of the element. |
Returns
System. THe adjusted element type. |
GetElementNameByType(Type)
Gets the element name as string by given element type.
Declaration
protected override string GetElementNameByType(Type elementType)
Parameters
System. The type of the element. |
Returns
System. The element name as string. |
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. The XML reader. |
System. The list owner. |
System. The property descriptor. |
System. The collection. |
Returns
System. True if the list does not require further processing by the deserializer, False to use the default deserialization |
Overrides
ProcessReaderAttribute(XmlReader, Object, Object, PropertyDescriptor)
Reads properties of an object and sub-object the reader is currently positioned on.
Processes an attribute from the XML file while reading with System.
Declaration
protected override bool ProcessReaderAttribute(XmlReader reader, object parentObject, object toRead, PropertyDescriptor property)
Parameters
System. XML reader instance, positioned on the element to read. |
System. The parent object instance, null if there is no parent object information |
System. The object instance to be processed |
System. The property that is being processed. Extracted from reader.Name |
Returns
System. A value indicating whether the attribute has been processed. If [true] the parent class will not process current property/attribute. |
Overrides
ShouldSerializeValue(Object, PropertyDescriptor, PropertySerializationMetadata)
Provides logic to determine whether property value should be serialized.
Declaration
protected override bool ShouldSerializeValue(object component, PropertyDescriptor property, PropertySerializationMetadata overwriteMetadata)
Parameters
System.
|
System. property to serialize |
Property collection of extra serialization attributes for the property, corresponding to ComponentSerializationInfo |
Returns
System. value indicating whether property value should be serialized |
Overrides
Remarks
ShouldSerialize value resolution is as follows: