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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Panels Namespace > StackLengthConverter Class > CanConvertTo Method : CanConvertTo(ITypeDescriptorContext,Type) Method
The ITypeDescriptorContext for this call.
The Type being queried for support.
Checks whether or not this class can convert to a given type.
Syntax
'Declaration
 
Public Overloads Overrides Function CanConvertTo( _
   ByVal typeDescriptorContext As ITypeDescriptorContext, _
   ByVal destinationType As Type _
) As Boolean
'Usage
 
Dim instance As StackLengthConverter
Dim typeDescriptorContext As ITypeDescriptorContext
Dim destinationType As Type
Dim value As Boolean
 
value = instance.CanConvertTo(typeDescriptorContext, destinationType)
public override bool CanConvertTo( 
   ITypeDescriptorContext typeDescriptorContext,
   Type destinationType
)

Parameters

typeDescriptorContext
The ITypeDescriptorContext for this call.
destinationType
The Type being queried for support.

Return Value

true if this converter can convert to the provided type, false otherwise.
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

StackLengthConverter Class
StackLengthConverter Members
Overload List
Base Implementation in CanConvertTo(ITypeDescriptorContext,Type)