New to Telerik UI for WinForms? Start a free 30-day trial

Serializes a task board's specific components to XML.

Definition

Namespace:Telerik.WinControls.XmlSerialization.TaskBoard

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TaskBoardXmlSerializer : ComponentXmlSerializer

Inheritance: objectComponentXmlSerializerTaskBoardXmlSerializer

Inherited Members ComponentXmlSerializer.ReadDictionaryElement(XmlReader, object, IDictionary)ComponentXmlSerializer.ReadCollectionElement(XmlReader, IList)ComponentXmlSerializer.ReadCollectionElement(XmlReader, object, IList)ComponentXmlSerializer.ReadCollectionElement(XmlReader, object, IList, bool)ComponentXmlSerializer.ReadMergeCollection(XmlReader, object, PropertyDescriptor, IList, string)ComponentXmlSerializer.ReadMergeCollection(XmlReader, object, PropertyDescriptor, IList, string, bool)ComponentXmlSerializer.ReadMergeCollection(XmlReader, object, PropertyDescriptor, IList, string, bool, bool)ComponentXmlSerializer.MatchObjectElement(XmlReader, object, PropertyDescriptor, IList, string, IList, out int)ComponentXmlSerializer.MatchExistingItem(XmlReader, IList, object, PropertyDescriptor, string, string, IList, ref int)ComponentXmlSerializer.ReadObjectElement(XmlReader, object)ComponentXmlSerializer.ReadObjectElement(XmlReader, object, object)ComponentXmlSerializer.ProcessReaderAttribute(XmlReader, object, object, PropertyDescriptor)ComponentXmlSerializer.ProcessProperty(PropertyDescriptor)ComponentXmlSerializer.DisposeObject(IDisposable)ComponentXmlSerializer.ReadObjectElementOverride(XmlReader, object)ComponentXmlSerializer.ReadElementInObject(XmlReader, PropertyDescriptor, object)ComponentXmlSerializer.SetPropertyValue(PropertyDescriptor, object, object)ComponentXmlSerializer.GetPropertyValue(PropertyDescriptor, object)ComponentXmlSerializer.ProcessListOverride(XmlReader, object, PropertyDescriptor, IList)ComponentXmlSerializer.WriteTypeAttribute(XmlWriter, Type, object, DesignerSerializationVisibility)ComponentXmlSerializer.WriteObjectElement(XmlWriter, object)ComponentXmlSerializer.ShouldSerializeValue(object, PropertyDescriptor, PropertySerializationMetadata)ComponentXmlSerializer.WriteDictionaryElement(XmlWriter, IDictionary, object, PropertyDescriptor)ComponentXmlSerializer.InitializeWrite()ComponentXmlSerializer.InitializeRead()ComponentXmlSerializer.GetCollectionElementOverride(IEnumerable, object, PropertyDescriptor)ComponentXmlSerializer.WriteCollectionElement(XmlWriter, IEnumerable, string)ComponentXmlSerializer.WriteCollectionElement(XmlWriter, IEnumerable, object, PropertyDescriptor)ComponentXmlSerializer.GetElementNameByType(Type)ComponentXmlSerializer.RootSerializationObjectComponentXmlSerializer.PropertiesProviderComponentXmlSerializer.ResolveTypesOnlyInTelerikAssembliesComponentXmlSerializer.InstanceFactory...

Constructors

Creates a serializer using the component metadata supplied to the base serializer.

C#
public TaskBoardXmlSerializer(ComponentXmlSerializationInfo componentSerializationInfo)
Parameters:componentSerializationInfoComponentXmlSerializationInfo

Metadata describing the component to serialize.

Methods

Restores image properties from Base64-encoded XML content and delegates non-image values to the base serializer.

C#
protected override bool ProcessTypeOverride(Type type, XmlReader reader, PropertyDescriptor property, object toRead)
Parameters:typeType

The type of the value being restored.

readerXmlReader

The XML reader positioned at the serialized value.

propertyPropertyDescriptor

The descriptor of the property to restore.

toReadobject

The component instance receiving the value.

Returns:

bool

The base serializer's result for non-image values; otherwise, true if the image was restored or false if restoration failed.

Overrides: ComponentXmlSerializer.ProcessTypeOverride(Type, XmlReader, PropertyDescriptor, object)

Serializes non-null Image properties as PNG data encoded in the XML element; delegates other values to the base serializer.

C#
protected override bool WritePropertyOverride(XmlWriter writer, PropertyDescriptor property, object propertyValue, DesignerSerializationVisibility serializationVisibility)
Parameters:writerXmlWriter

The XML writer receiving the property element.

propertyPropertyDescriptor

The descriptor of the property being serialized.

propertyValueobject

The current property value.

serializationVisibilityDesignerSerializationVisibility

The property's designer serialization visibility.

Returns:

bool

The base serializer's result for other properties; otherwise, true if the image was written or false if image serialization failed.

Overrides: ComponentXmlSerializer.WritePropertyOverride(XmlWriter, PropertyDescriptor, object, DesignerSerializationVisibility)