Converts the serialization information for table grid column widths.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableGridColumnWidthsSerializationInfoConverter : TypeConverter
Inheritance: objectTypeConverterTableGridColumnWidthsSerializationInfoConverter
Inherited Members
Constructors
public TableGridColumnWidthsSerializationInfoConverter()
Methods
Determines whether the specified type can be converted from the given context.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
The context providing information about the environment from which this conversion is invoked.
sourceTypeTypeThe type you want to check for conversion.
Returns:True if the specified type can be converted from the given context; otherwise, false.
Overrides:
Determines whether the converter can convert the specified type to another type.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
The context that provides additional information about the environment.
destinationTypeTypeThe type that is being checked for conversion.
Returns:A boolean value indicating whether the specified type can be converted to another type. Returns true if the conversion is possible; otherwise, false.
Overrides:
Converts the specified object to a TableGridColumnWidthsSerializationInfo.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
The context that provides contextual information about the environment from which the converter is called.
cultureCultureInfoThe culture information that is used to interpret the object.
valueobjectThe object to be converted.
Returns:An instance of TableGridColumnWidthsSerializationInfo that represents the converted value.
Overrides:
Converts the specified value to a serialized representation of table grid column widths.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
An object that provides a format context for the conversion.
cultureCultureInfoThe culture information to use in the conversion process.
valueobjectThe value to be converted.
destinationTypeTypeThe type to which the value should be converted.
Returns:A serialized representation of the specified value as an object of the destination type.
Overrides: