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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Core.Input Namespace > KeyModifierCollectionConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method
Returns whether conversation can be done.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function CanConvertFrom( _
   ByVal typeDescriptorContext As ITypeDescriptorContext, _
   ByVal type As Type _
) As Boolean
'Usage
 
Dim instance As KeyModifierCollectionConverter
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

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