Summary
Attempts to convert to a DataGridLength from the given object.
- Namespace
- Avalonia
.Controls - Containing Type
- Data
Grid Length Converter
Syntax
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Name | Type | Description |
---|---|---|
context | I |
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. |