Class
TableGridColumnWidthsSerializationInfoConverter

Converts the serialization information for table grid column widths.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class TableGridColumnWidthsSerializationInfoConverter : TypeConverter

Inheritance: objectTypeConverterTableGridColumnWidthsSerializationInfoConverter

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

TableGridColumnWidthsSerializationInfoConverter()

Declaration

cs-api-definition
public TableGridColumnWidthsSerializationInfoConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether the specified type can be converted from the given context.

Declaration

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

Parameters

context

ITypeDescriptorContext

The context providing information about the environment from which this conversion is invoked.

sourceType

Type

The type you want to check for conversion.

Returns

bool

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

Overrides TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)

CanConvertTo(ITypeDescriptorContext, Type)

Determines whether the converter can convert the specified type to another type.

Declaration

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

Parameters

context

ITypeDescriptorContext

The context that provides additional information about the environment.

destinationType

Type

The type that is being checked for conversion.

Returns

bool

A boolean value indicating whether the specified type can be converted to another type. Returns true if the conversion is possible; otherwise, false.

Overrides TypeConverter.CanConvertTo(ITypeDescriptorContext, Type)

ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

Converts the specified object to a TableGridColumnWidthsSerializationInfo.

Declaration

cs-api-definition
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)

Parameters

context

ITypeDescriptorContext

The context that provides contextual information about the environment from which the converter is called.

culture

CultureInfo

The culture information that is used to interpret the object.

value

object

The object to be converted.

Returns

object

An instance of TableGridColumnWidthsSerializationInfo that represents the converted value.

Overrides TypeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, object)

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the specified value to a serialized representation of table grid column widths.

Declaration

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

Parameters

context

ITypeDescriptorContext

An object that provides a format context for the conversion.

culture

CultureInfo

The culture information to use in the conversion process.

value

object

The value to be converted.

destinationType

Type

The type to which the value should be converted.

Returns

object

A serialized representation of the specified value as an object of the destination type.

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