ClassTableGridColumnWidthsSerializationInfoConverter
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
TableGridColumnWidthsSerializationInfoConverter()
Declaration
public TableGridColumnWidthsSerializationInfoConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Determines whether the specified type can be converted from the given context.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
The context providing information about the environment from which this conversion is invoked.
sourceType
The type you want to check for conversion.
Returns
True if the specified type can be converted from the given context; otherwise, false.
Overrides
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether the converter can convert the specified type to another type.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
context
The context that provides additional information about the environment.
destinationType
The 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
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the specified object to a TableGridColumnWidthsSerializationInfo.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
The context that provides contextual information about the environment from which the converter is called.
culture
The culture information that is used to interpret the object.
value
The object to be converted.
Returns
An instance of TableGridColumnWidthsSerializationInfo that represents the converted value.
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the specified value to a serialized representation of table grid column widths.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
An object that provides a format context for the conversion.
culture
The culture information to use in the conversion process.
value
The value to be converted.
destinationType
The type to which the value should be converted.
Returns
A serialized representation of the specified value as an object of the destination type.
Overrides