ClassListItemSerializationInfoConverter
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
ListItemSerializationInfoConverter()
Declaration
public ListItemSerializationInfoConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Determines whether the specified context can convert an object of the specified type to a ListItemSerializationInfo.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
Parameters
typeDescriptorContext
The context that provides information about the environment from which this conversion is being invoked.
sourceType
The 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
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether the specified type can be converted to a ListItemSerializationInfo.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
Parameters
typeDescriptorContext
The context in which the conversion is performed.
destinationType
The type to check for conversion compatibility.
Returns
True if the specified type can be converted; otherwise, false.
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the specified object into a ListItemSerializationInfo instance.
Declaration
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
Parameters
typeDescriptorContext
The context information required for conversion, provided by the type descriptor.
cultureInfo
The culture information that may affect the conversion process.
source
The object to be converted into a ListItemSerializationInfo.
Returns
A ListItemSerializationInfo instance representing the converted object.
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the specified object to a serialized representation of a list item.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
An instance of ITypeDescriptorContext that provides contextual information.
culture
An instance of CultureInfo that provides culture-specific information.
value
The object to be converted.
destinationType
The Type to which the object should be converted.
Returns
An object that represents the serialized list item.
Overrides