ListPaddingTypeConverterCanConvertFrom(ITypeDescriptorContext, Type) Method
Determines if this converter can convert an object in the given source type to the native type of the
converter.
Namespace: EWSoftware.ListControls.DesignAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public 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
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
- context ITypeDescriptorContext
- The format context
- sourceType Type
- The type from which to convert
BooleanReturns true if it can perform the conversion or false if it cannot