Summary
Checks whether or not this class can convert from a given type.
- Namespace
- Avalonia
.Controls - Containing Type
- Data
Grid Length Converter
Syntax
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Name | Type | Description |
---|---|---|
context | I |
An ITypeDescriptorContext that provides a format context. |
sourceType | Type | The Type being queried for support. |
Return Value
Type | Description |
---|---|
bool |
true if this converter can convert from the provided type,
false otherwise.
|