DataGridLengthConverter.

ConvertFrom(ITypeDescriptorContext, CultureInfo, object) Method

Summary

Attempts to convert to a DataGridLength from the given object.
Namespace
Avalonia.Controls
Containing Type
DataGridLengthConverter

Syntax

public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)

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 object to convert to a GridLength.

Return Value

Type Description
object The GridLength instance which was constructed.