FileSizeConverterCanConvertFrom(ITypeDescriptorContext, Type) Method

Determines if this converter can convert an object in the given source type to the native type of the converter.

Definition

Namespace: DevCase.Runtime.TypeConverters
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
sourceType  Type
A Type that represents the type from which you want to convert.

Return Value

Boolean
if this converter can perform the operation; otherwise, .

See Also