DataGridLengthConverter Class

Summary

DataGridLengthConverter - Converter class for converting instances of other types to and from DataGridLength instances.
Namespace
Avalonia.Controls
Base Types
  • TypeConverter
graph BT Type-->Base0["TypeConverter"] Type["DataGridLengthConverter"] class Type type-node

Syntax

public class DataGridLengthConverter : TypeConverter

Methods

Name Value Summary
CanConvertFrom(ITypeDescriptorContext, Type) bool
Checks whether or not this class can convert from a given type.
CanConvertTo(ITypeDescriptorContext, Type) bool
Checks whether or not this class can convert to a given type.
ConvertFrom(ITypeDescriptorContext, CultureInfo, object) object
Attempts to convert to a DataGridLength from the given object.
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type) object
Attempts to convert a DataGridLength instance to the given type.