ClassVirtualKeyboardXmlSerializer
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
VirtualKeyboardXmlSerializer(RadVirtualKeyboard, ComponentXmlSerializationInfo)
Constructs new instance of the class, providing extended properties serialization information
Declaration
public VirtualKeyboardXmlSerializer(RadVirtualKeyboard virtualKeyboard, ComponentXmlSerializationInfo componentSerializationInfo)
Parameters
virtualKeyboard
The serialization component.
componentSerializationInfo
Extends the properties serialization information.
Methods
ChangeSerializedElementType(Type)
Used to change the element type of VirtualKeyboardLayoutPanel descendants during the Save layout operation.
GetElementNameByType(Type)
Gets the element name as string by given element type.
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
reader
The XML reader.
listOwner
The list owner.
ownerProperty
The property descriptor.
list
The collection.
Returns
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 XmlReader.
Declaration
protected override bool ProcessReaderAttribute(XmlReader reader, object parentObject, object toRead, PropertyDescriptor property)
Parameters
reader
XML reader instance, positioned on the element to read.
parentObject
The parent object instance, null if there is no parent object information
toRead
The object instance to be processed
property
The 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
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
component
property
property to serialize
overwriteMetadata
collection of extra serialization attributes for the property, corresponding to ComponentSerializationInfo
Returns
value indicating whether property value should be serialized
Overrides
Remarks
ShouldSerialize value resolution is as follows: