Xceed Toolkit Plus for WPF v4.6 Documentation
CanConvertFrom(ITypeDescriptorContext,Type) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Panels Namespace > AnimatorConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method
Tests if converter can convert from an object of a given type. AnimatorConverter only converts from strings
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function CanConvertFrom( _
   ByVal typeDescriptorContext As ITypeDescriptorContext, _
   ByVal type As Type _
) As Boolean
'Usage
 
Dim instance As AnimatorConverter
Dim typeDescriptorContext As ITypeDescriptorContext
Dim type As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(typeDescriptorContext, type)
public override bool CanConvertFrom( 
   ITypeDescriptorContext typeDescriptorContext,
   Type type
)

Parameters

typeDescriptorContext
type
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnimatorConverter Class
AnimatorConverter Members
Overload List
Base Implementation in CanConvertFrom(ITypeDescriptorContext,Type)