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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Core.Input Namespace > KeyModifierCollectionConverter Class > CanConvertTo Method : CanConvertTo(ITypeDescriptorContext,Type) Method
Returns whether conversion can be done.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function CanConvertTo( _
   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.CanConvertTo(typeDescriptorContext, type)
public override bool CanConvertTo( 
   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 CanConvertTo(ITypeDescriptorContext,Type)