ColorConverterCanConvertFrom Method |
Determines if this can convert a value with the type of
sourceType to a
Color
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
Context of the conversion - sourceType
- Type: SystemType
Type to convert from
Return Value
Type:
BooleanTrue if this can convert to the
sourceType, false otherwise
See Also