Method CanConvertFrom
CanConvertFrom(Nullable<ITypeDescriptorContext>, Type)
Returns a value indicating whether the converter can convert from the specified type
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
Parameters
Type | Name | Description |
---|---|---|
System. |
context | An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
Type | sourceType | A System.Type that represents the type you want to convert from. |
Returns
Type | Description |
---|---|
System. |
true if this converter can perform the conversion; otherwise, false. |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |