GeneralTypeConverterCanConvertFrom Method (ITypeDescriptorContext, Type) |
LightningChart .NET Help
Determines if conversion is possible.
If special byte[] serialization is enabled, this reports it possible to convert byte[] to LC types.
Namespace:
Arction.Wpf.Charting.TypeConverters
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
Context. - sourceType
- Type: SystemType
Source type.
Return Value
Type:
BooleanTrue, if conversion can be done.
See Also