Class
ListItemSerializationInfoConverter

Converts serialization information for list items in Telerik documents.

Definition

Namespace:Telerik.Windows.Documents.Lists

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ListItemSerializationInfoConverter : TypeConverter

Inheritance: objectTypeConverterListItemSerializationInfoConverter

Inherited Members TypeConverter.CanConvertFrom(Type)TypeConverter.CanConvertTo(Type)TypeConverter.ConvertFrom(object)TypeConverter.ConvertFromInvariantString(string)TypeConverter.ConvertFromInvariantString(ITypeDescriptorContext, string)TypeConverter.ConvertFromString(string)TypeConverter.ConvertFromString(ITypeDescriptorContext, string)TypeConverter.ConvertFromString(ITypeDescriptorContext, CultureInfo, string)TypeConverter.ConvertTo(object, Type)TypeConverter.ConvertToInvariantString(object)TypeConverter.ConvertToInvariantString(ITypeDescriptorContext, object)TypeConverter.ConvertToString(object)TypeConverter.ConvertToString(ITypeDescriptorContext, object)TypeConverter.ConvertToString(ITypeDescriptorContext, CultureInfo, object)TypeConverter.CreateInstance(IDictionary)TypeConverter.CreateInstance(ITypeDescriptorContext, IDictionary)TypeConverter.GetConvertFromException(object)TypeConverter.GetConvertToException(object, Type)TypeConverter.GetCreateInstanceSupported()TypeConverter.GetCreateInstanceSupported(ITypeDescriptorContext)TypeConverter.GetProperties(object)TypeConverter.GetProperties(ITypeDescriptorContext, object)TypeConverter.GetProperties(ITypeDescriptorContext, object, Attribute[])TypeConverter.GetPropertiesSupported()TypeConverter.GetPropertiesSupported(ITypeDescriptorContext)TypeConverter.GetStandardValues()TypeConverter.GetStandardValues(ITypeDescriptorContext)TypeConverter.GetStandardValuesExclusive()TypeConverter.GetStandardValuesExclusive(ITypeDescriptorContext)TypeConverter.GetStandardValuesSupported()TypeConverter.GetStandardValuesSupported(ITypeDescriptorContext)TypeConverter.IsValid(object)TypeConverter.IsValid(ITypeDescriptorContext, object)TypeConverter.SortProperties(PropertyDescriptorCollection, string[])

Constructors

ListItemSerializationInfoConverter()

Declaration

cs-api-definition
public ListItemSerializationInfoConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether the specified context can convert an object of the specified type to a ListItemSerializationInfo.

Declaration

cs-api-definition
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)

Parameters

typeDescriptorContext

ITypeDescriptorContext

The context that provides information about the environment from which this conversion is being invoked.

sourceType

Type

The type of the object that is being checked for conversion.

Returns

bool

True if the specified type can be converted to a ListItemSerializationInfo; otherwise, false.

Overrides TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)

CanConvertTo(ITypeDescriptorContext, Type)

Determines whether the specified type can be converted to a ListItemSerializationInfo.

Declaration

cs-api-definition
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)

Parameters

typeDescriptorContext

ITypeDescriptorContext

The context in which the conversion is performed.

destinationType

Type

The type to check for conversion compatibility.

Returns

bool

True if the specified type can be converted; otherwise, false.

Overrides TypeConverter.CanConvertTo(ITypeDescriptorContext, Type)

ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

Converts the specified object into a ListItemSerializationInfo instance.

Declaration

cs-api-definition
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)

Parameters

typeDescriptorContext

ITypeDescriptorContext

The context information required for conversion, provided by the type descriptor.

cultureInfo

CultureInfo

The culture information that may affect the conversion process.

source

object

The object to be converted into a ListItemSerializationInfo.

Returns

object

A ListItemSerializationInfo instance representing the converted object.

Overrides TypeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the specified object to a serialized representation of a list item.

Declaration

cs-api-definition
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)

Parameters

context

ITypeDescriptorContext

An instance of ITypeDescriptorContext that provides contextual information.

culture

CultureInfo

An instance of CultureInfo that provides culture-specific information.

value

object

The object to be converted.

destinationType

Type

The Type to which the object should be converted.

Returns

object

An object that represents the serialized list item.

Overrides TypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)