DataGridLengthConverter.

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type) Method

Summary

Attempts to convert a DataGridLength instance to the given type.
Namespace
Avalonia.Controls
Containing Type
DataGridLengthConverter

Syntax

public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)

Parameters

Name Type Description
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
culture CultureInfo The CultureInfo to use for the conversion.
value object The DataGridLength to convert.
destinationType Type The type to which to convert the DataGridLength instance.

Return Value

Type Description
object The object which was constructed.