ImageConverterCanConvertFrom Method |
Gets a value indicating that this converter can convert from the source type to an image
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
Parameters
- context
- Type: EtoITypeDescriptorContext
Conversion context - sourceType
- Type: SystemType
Type to convert from
Return Value
Type:
BooleanTrue if this converter can handle converting from the specified
sourceType to an image
See Also