Serializes the RadVirtualKeyboard component to XML, using the same rules that apply in Code Dom serialization, in VS designer.
Definition
Namespace:Telerik.WinControls.VirtualKeyboard
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class VirtualKeyboardXmlSerializer : ComponentXmlSerializer
Inheritance: objectComponentXmlSerializerVirtualKeyboardXmlSerializer
Inherited Members
Constructors
Constructs new instance of the class, providing extended properties serialization information
public VirtualKeyboardXmlSerializer(RadVirtualKeyboard virtualKeyboard, ComponentXmlSerializationInfo componentSerializationInfo)
The serialization component.
componentSerializationInfoComponentXmlSerializationInfoExtends the properties serialization information.
Methods
Used to change the element type of VirtualKeyboardLayoutPanel descendants during the Save layout operation.
Override to provide custom processing of collection being deserialized
protected override bool ProcessListOverride(XmlReader reader, object listOwner, PropertyDescriptor ownerProperty, IList list)
The XML reader.
listOwnerobjectThe list owner.
ownerPropertyPropertyDescriptorThe property descriptor.
listIListThe collection.
Returns:True if the list does not require further processing by the deserializer, False to use the default deserialization
Overrides:
Reads properties of an object and sub-object the reader is currently positioned on. Processes an attribute from the XML file while reading with XmlReader.
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:
Provides logic to determine whether property value should be serialized.
protected override bool ShouldSerializeValue(object component, PropertyDescriptor property, PropertySerializationMetadata overwriteMetadata)
property to serialize
overwriteMetadataPropertySerializationMetadatacollection of extra serialization attributes for the property, corresponding to ComponentSerializationInfo
Returns:value indicating whether property value should be serialized
Overrides:
ShouldSerialize value resolution is as follows: