Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
CanConvertFrom(ITypeDescriptorContext,Type) Method
See Also 
Leadtools.Windows.Controls Namespace > MagnifyGlassConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method



context
Type context used for conversion
sourceType
The source type to be converted
This member overrides TypeConverter.CanConvertFrom.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlassConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(context, sourceType)
C# 
public override bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type sourceType
)
C++/CLI 
public:
bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type^ sourceType
) override 

Parameters

context
Type context used for conversion
sourceType
The source type to be converted

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also