Converts serialization information for list items in Telerik documents.
Definition
Namespace:Telerik.Windows.Documents.Lists
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ListItemSerializationInfoConverter : TypeConverter
Inheritance: objectTypeConverterListItemSerializationInfoConverter
Inherited Members
Constructors
public ListItemSerializationInfoConverter()
Methods
Determines whether the specified context can convert an object of the specified type to a ListItemSerializationInfo.
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
The context that provides information about the environment from which this conversion is being invoked.
sourceTypeTypeThe type of the object that is being checked for conversion.
Returns:True if the specified type can be converted to a ListItemSerializationInfo; otherwise, false.
Overrides:
Determines whether the specified type can be converted to a ListItemSerializationInfo.
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
The context in which the conversion is performed.
destinationTypeTypeThe type to check for conversion compatibility.
Returns:True if the specified type can be converted; otherwise, false.
Overrides:
Converts the specified object into a ListItemSerializationInfo instance.
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
The context information required for conversion, provided by the type descriptor.
cultureInfoCultureInfoThe culture information that may affect the conversion process.
sourceobjectThe object to be converted into a ListItemSerializationInfo.
Returns:A ListItemSerializationInfo instance representing the converted object.
Overrides:
Converts the specified object to a serialized representation of a list item.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
An instance of ITypeDescriptorContext that provides contextual information.
cultureCultureInfoAn instance of CultureInfo that provides culture-specific information.
valueobjectThe object to be converted.
destinationTypeTypeThe Type to which the object should be converted.
Returns:An object that represents the serialized list item.
Overrides: