Returns true if the sourceType is a string.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
C# |
---|
public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType ) |
Visual Basic (Declaration) |
---|
Public Overrides Function CanConvertFrom ( _ context As ITypeDescriptorContext, _ sourceType As Type _ ) As Boolean |
Parameters
- context
- Type: System.ComponentModel..::.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- sourceType
- Type: System..::.Type
A Type that represents the type you want to convert from.