DataGridLengthConverter.

CanConvertTo(ITypeDescriptorContext, Type) Method

Summary

Checks whether or not this class can convert to a given type.
Namespace
Avalonia.Controls
Containing Type
DataGridLengthConverter

Syntax

public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)

Parameters

Name Type Description
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
destinationType Type The Type being queried for support.

Return Value

Type Description
bool true if this converter can convert to the provided type, false otherwise.