IconElementConverter.CanConvertTo(ITypeDescriptorContext?, Type?) method¶
Defined in
Type: IconElementConverter
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType)
Summary: Returns whether this converter can convert the object to the specified type, using the specified context.
Parameters
| Name | Type | Description |
|---|---|---|
context | ITypeDescriptorContext? | An ITypeDescriptorContext that provides a format context. |
destinationType | Type? | A Type that represents the type you want to convert to. |
Returns: bool -- true if this converter can perform the conversion; otherwise, false.