Serializes RadDock layout data with placeholders for dock windows and resolves those placeholders to existing windows when reading.
Definition
Namespace:Telerik.WinControls.UI.Docking.Serialization
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public class FloatingWindowsXmlResolvingSerializer : DockXmlSerializerBase
Inheritance: objectComponentXmlSerializerDockXmlSerializerBaseFloatingWindowsXmlResolvingSerializer
Inherited Members
Constructors
Creates a serializer that resolves layout data against the windows owned by the specified dock.
public FloatingWindowsXmlResolvingSerializer(RadDock dock, ComponentXmlSerializationInfo componentSerializationInfo)
The dock whose window instances are matched during deserialization.
componentSerializationInfoComponentXmlSerializationInfoThe property and type metadata used to read and write the layout.
Methods
Adds floating windows to the serialized controls of the tab strip recorded as their redock target.
protected override IEnumerable GetCollectionElementOverride(IEnumerable list, object owner, PropertyDescriptor property)
The controls currently in the collection.
ownerobjectThe object that owns the collection.
propertyPropertyDescriptorMetadata for the collection property.
Returns:The augmented controls for a matching tab-strip collection, or the base serializer's collection otherwise.
Overrides:
Uses placeholder element types for dock windows and serializable snapshots for floating windows.
Merges control collections by dock-window name for tab-strip panels and by control name for other owners.
protected override bool ProcessListOverride(XmlReader reader, object propertyOwner, PropertyDescriptor parentProperty, IList list)
The reader positioned at the collection data.
propertyOwnerobjectThe object that owns the collection.
parentPropertyPropertyDescriptorMetadata for the collection property being read.
listIListThe existing collection to update.
Returns:The base serializer's result for non-control collections; otherwise, whether the collection was handled here.
Overrides: