Provides RadDock-specific matching of serialized window names to existing controls.
Definition
Namespace:Telerik.WinControls.UI.Docking.Serialization
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public class DockXmlSerializerBase : ComponentXmlSerializer
Inheritance: objectComponentXmlSerializerDockXmlSerializerBase
Derived Classes:
Inherited Members
Constructors
Creates a new instance of the RadDock-aware serializer base.
public DockXmlSerializerBase(RadDock dock, ComponentXmlSerializationInfo componentSerializationInfo)
RadDock component that is used to write DockWindow states and info or to map existing DockWindows when deserializing
componentSerializationInfoComponentXmlSerializationInfoSerialization info. By default XmlSerializationInfo could be used.
Properties
Methods
Reuses a named dock window or document container from the current RadDock when it matches the XML entry.
protected override object MatchExistingItem(XmlReader reader, IList toRead, object parent, PropertyDescriptor parentProperty, string propertyToMatch, string uniquePropertyValue, IList existingInstancesToMatch, ref int foundAtIndex)
The reader positioned at the object element being matched.
toReadIListThe collection being populated from XML.
parentobjectThe object that owns the collection.
parentPropertyPropertyDescriptorMetadata for the collection property.
propertyToMatchstringThe property name used to identify a matching instance.
uniquePropertyValuestringThe serialized value of the matching property.
existingInstancesToMatchIListExisting instances available for reuse.
foundAtIndexintReceives the index of the matched existing instance, or -1 when none is found.
Returns:The matching existing object, or the base serializer's result when this dock has no match.
Overrides: