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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Core Namespace > EnumDisplayNameConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method
Syntax
'Declaration
 
Public Overloads Overrides Function CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
) As Boolean
'Usage
 
Dim instance As EnumDisplayNameConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(context, sourceType)
public override bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type sourceType
)

Parameters

context
sourceType
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

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